pyVertexModel 1.0.2.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. pyvertexmodel-1.0.2.dev0/.gitattributes +2 -0
  2. pyvertexmodel-1.0.2.dev0/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. pyvertexmodel-1.0.2.dev0/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. pyvertexmodel-1.0.2.dev0/.github/workflows/tests.yaml +53 -0
  5. pyvertexmodel-1.0.2.dev0/.gitignore +194 -0
  6. pyvertexmodel-1.0.2.dev0/.idea/.gitignore +10 -0
  7. pyvertexmodel-1.0.2.dev0/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  8. pyvertexmodel-1.0.2.dev0/.idea/modules.xml +8 -0
  9. pyvertexmodel-1.0.2.dev0/.idea/other.xml +7 -0
  10. pyvertexmodel-1.0.2.dev0/.idea/pyVertexModel.iml +17 -0
  11. pyvertexmodel-1.0.2.dev0/.idea/vcs.xml +6 -0
  12. pyvertexmodel-1.0.2.dev0/.python-version +1 -0
  13. pyvertexmodel-1.0.2.dev0/.run/analyse_simulations.run.xml +25 -0
  14. pyvertexmodel-1.0.2.dev0/CODE_OF_CONDUCT.md +128 -0
  15. pyvertexmodel-1.0.2.dev0/LICENSE +21 -0
  16. pyvertexmodel-1.0.2.dev0/PKG-INFO +18 -0
  17. pyvertexmodel-1.0.2.dev0/README.md +45 -0
  18. pyvertexmodel-1.0.2.dev0/SECURITY.md +3 -0
  19. pyvertexmodel-1.0.2.dev0/Tests/__init__.py +3 -0
  20. pyvertexmodel-1.0.2.dev0/Tests/test_cell.py +80 -0
  21. pyvertexmodel-1.0.2.dev0/Tests/test_degreesOfFreedom.py +40 -0
  22. pyvertexmodel-1.0.2.dev0/Tests/test_face.py +113 -0
  23. pyvertexmodel-1.0.2.dev0/Tests/test_flip.py +147 -0
  24. pyvertexmodel-1.0.2.dev0/Tests/test_geo.py +378 -0
  25. pyvertexmodel-1.0.2.dev0/Tests/test_kg.py +289 -0
  26. pyvertexmodel-1.0.2.dev0/Tests/test_newtonRaphson.py +239 -0
  27. pyvertexmodel-1.0.2.dev0/Tests/test_remodelling.py +43 -0
  28. pyvertexmodel-1.0.2.dev0/Tests/test_tris.py +54 -0
  29. pyvertexmodel-1.0.2.dev0/Tests/test_utils.py +71 -0
  30. pyvertexmodel-1.0.2.dev0/Tests/test_vertexModel.py +498 -0
  31. pyvertexmodel-1.0.2.dev0/Tests/tests.py +63 -0
  32. pyvertexmodel-1.0.2.dev0/logo.png +0 -0
  33. pyvertexmodel-1.0.2.dev0/pyVertexModel/__init__.py +17 -0
  34. pyvertexmodel-1.0.2.dev0/pyVertexModel/napari.yaml +0 -0
  35. pyvertexmodel-1.0.2.dev0/pyVertexModel.egg-info/PKG-INFO +18 -0
  36. pyvertexmodel-1.0.2.dev0/pyVertexModel.egg-info/SOURCES.txt +123 -0
  37. pyvertexmodel-1.0.2.dev0/pyVertexModel.egg-info/dependency_links.txt +1 -0
  38. pyvertexmodel-1.0.2.dev0/pyVertexModel.egg-info/requires.txt +12 -0
  39. pyvertexmodel-1.0.2.dev0/pyVertexModel.egg-info/top_level.txt +2 -0
  40. pyvertexmodel-1.0.2.dev0/pyproject.toml +137 -0
  41. pyvertexmodel-1.0.2.dev0/report.md +1 -0
  42. pyvertexmodel-1.0.2.dev0/requirements.txt +16 -0
  43. pyvertexmodel-1.0.2.dev0/resources/LblImg_imageSequence.mat +0 -0
  44. pyvertexmodel-1.0.2.dev0/setup.cfg +4 -0
  45. pyvertexmodel-1.0.2.dev0/setup.py +16 -0
  46. pyvertexmodel-1.0.2.dev0/src/__init__.py +29 -0
  47. pyvertexmodel-1.0.2.dev0/src/hpc_run.sh +55 -0
  48. pyvertexmodel-1.0.2.dev0/src/main.sh +24 -0
  49. pyvertexmodel-1.0.2.dev0/src/main_cell_shapes.sh +28 -0
  50. pyvertexmodel-1.0.2.dev0/src/main_generic.sh +19 -0
  51. pyvertexmodel-1.0.2.dev0/src/parallel_find_ps.sh +39 -0
  52. pyvertexmodel-1.0.2.dev0/src/parallel_run.sh +40 -0
  53. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/__init__.py +0 -0
  54. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kg.py +180 -0
  55. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgContractility.py +290 -0
  56. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgContractility_external.py +88 -0
  57. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgSubstrate.py +116 -0
  58. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgSurfaceCellBasedAdhesion.py +191 -0
  59. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgTriAREnergyBarrier.py +75 -0
  60. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgTriEnergyBarrier.py +59 -0
  61. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgViscosity.py +43 -0
  62. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kgVolume.py +94 -0
  63. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kg_functions.c +36448 -0
  64. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/Kg/kg_functions.pyx +189 -0
  65. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/__init__.py +1 -0
  66. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/_version.py +34 -0
  67. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/VertexModelVoronoi3D.py +117 -0
  68. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/__init__.py +0 -0
  69. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/newtonRaphson.py +574 -0
  70. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/vertexModel.py +1262 -0
  71. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/vertexModelBubbles.py +464 -0
  72. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/algorithm/vertexModelVoronoiFromTimeImage.py +678 -0
  73. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/__init__.py +0 -0
  74. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_in_vivo_ablation_data.py +74 -0
  75. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_optuna_results.py +112 -0
  76. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_pre_ablation_state.py +122 -0
  77. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_results_excel.py +50 -0
  78. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_simulation.py +591 -0
  79. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analyse_simulations.py +92 -0
  80. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analysis_megha.py +754 -0
  81. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/analysis_space_exploration.py +22 -0
  82. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/average_noise_files.py +43 -0
  83. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/display_different_models_in_one_figure.py +88 -0
  84. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/find_required_purse_string.py +157 -0
  85. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/get_same_feature_ablation.py +174 -0
  86. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/obtain_best_parameters.py +116 -0
  87. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/obtain_vtks_from_file.py +135 -0
  88. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/analysis/plot_parameters_based_on_height.py +109 -0
  89. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/__init__.py +0 -0
  90. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/cell.py +774 -0
  91. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/degreesOfFreedom.py +229 -0
  92. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/face.py +268 -0
  93. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/geo.py +2273 -0
  94. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/geometry/tris.py +124 -0
  95. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/gui/__init__.py +0 -0
  96. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/gui/qt_gui.py +174 -0
  97. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/main.py +68 -0
  98. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/main_bubbles.py +7 -0
  99. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/main_different_cell_shapes.py +74 -0
  100. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/main_optuna.py +40 -0
  101. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/main_paper_simulations.py +192 -0
  102. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/mesh_remodelling/__init__.py +0 -0
  103. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/mesh_remodelling/flip.py +452 -0
  104. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/mesh_remodelling/remodelling.py +742 -0
  105. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/parameters/__init__.py +0 -0
  106. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/parameters/set.py +455 -0
  107. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/util/__init__.py +0 -0
  108. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/util/add_to_pythonpath.sh +7 -0
  109. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/util/space_exploration.py +340 -0
  110. pyvertexmodel-1.0.2.dev0/src/pyVertexModel/util/utils.py +792 -0
  111. pyvertexmodel-1.0.2.dev0/src/run.bat +16 -0
  112. pyvertexmodel-1.0.2.dev0/uv.lock +1624 -0
@@ -0,0 +1,2 @@
1
+ .tif filter=lfs diff=lfs merge=lfs -text
2
+ *.tif filter=lfs diff=lfs merge=lfs -text
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. iOS]
28
+ - Browser [e.g. chrome, safari]
29
+ - Version [e.g. 22]
30
+
31
+ **Smartphone (please complete the following information):**
32
+ - Device: [e.g. iPhone6]
33
+ - OS: [e.g. iOS8.1]
34
+ - Browser [e.g. stock browser, safari]
35
+ - Version [e.g. 22]
36
+
37
+ **Additional context**
38
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,53 @@
1
+ name: Run Python Tests
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [ main megha]
7
+ pull_request:
8
+ branches: [ main ]
9
+
10
+ jobs:
11
+ build:
12
+
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+
18
+ - name: Set up Python 3.9
19
+ uses: actions/setup-python@v2
20
+ with:
21
+ python-version: 3.9
22
+
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install -r requirements.txt
27
+
28
+ - name: Build Cython extensions
29
+ run: |
30
+ python setup.py build_ext --inplace
31
+
32
+ - name: Run tests
33
+ run: |
34
+ pip install pytest pytest-cov
35
+ pytest Tests/ -k "not filename" --doctest-modules --junitxml=test-results.xml --cov . --cov-report=xml --cov-report=html
36
+ continue-on-error: true
37
+
38
+ - name: Upload coverage reports to Codecov
39
+ uses: codecov/codecov-action@v4.0.1
40
+ with:
41
+ token: ${{ secrets.CODECOV_TOKEN }}
42
+ slug: Pablo1990/pyVertexModel
43
+
44
+ - name: Coveralls
45
+ uses: coverallsapp/github-action@v2
46
+ with:
47
+ file: coverage.xml
48
+
49
+ - name: TestForest Dashboard
50
+ uses: test-summary/action@v2.3
51
+ with:
52
+ paths: "test-results.xml"
53
+
@@ -0,0 +1,194 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ src/pyVertexModel/Kg/build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ .DS_Store
163
+
164
+ *.png
165
+
166
+ src/pyVertexModel/Kg/kg_functions.c
167
+
168
+ *.html
169
+
170
+ *.csv
171
+
172
+ *.lcov
173
+
174
+ Result/*
175
+
176
+ .idea/*
177
+
178
+ src/pyVertexModel/Result/*
179
+
180
+ *.xz
181
+
182
+ data/
183
+
184
+ .nextflow/
185
+
186
+ .idea/misc.xml
187
+
188
+ *.db
189
+
190
+ *.o
191
+
192
+ Input
193
+
194
+ *.xlsx
@@ -0,0 +1,10 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
9
+ # GitHub Copilot persisted chat sessions
10
+ /copilot/chatSessions
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/pyVertexModel.iml" filepath="$PROJECT_DIR$/.idea/pyVertexModel.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PySciProjectComponent">
4
+ <option name="PY_SCI_VIEW" value="true" />
5
+ <option name="PY_INTERACTIVE_PLOTS_SUGGESTED" value="true" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/Result" />
6
+ </content>
7
+ <orderEntry type="jdk" jdkName="pyVertexModel" jdkType="Python SDK" />
8
+ <orderEntry type="sourceFolder" forTests="false" />
9
+ </component>
10
+ <component name="PackageRequirementsSettings">
11
+ <option name="removeUnused" value="true" />
12
+ <option name="keepMatchingSpecifier" value="false" />
13
+ </component>
14
+ <component name="PyDocumentationSettings">
15
+ <option name="renderExternalDocumentation" value="true" />
16
+ </component>
17
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1 @@
1
+ 3.10
@@ -0,0 +1,25 @@
1
+ <component name="ProjectRunConfigurationManager">
2
+ <configuration default="false" name="analyse_simulations" type="PythonConfigurationType" factoryName="Python" singleton="false" nameIsGenerated="true">
3
+ <module name="pyVertexModel" />
4
+ <option name="ENV_FILES" value="" />
5
+ <option name="INTERPRETER_OPTIONS" value="" />
6
+ <option name="PARENT_ENVS" value="true" />
7
+ <envs>
8
+ <env name="PYTHONUNBUFFERED" value="1" />
9
+ </envs>
10
+ <option name="SDK_HOME" value="" />
11
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/src/pyVertexModel/analysis" />
12
+ <option name="IS_MODULE_SDK" value="true" />
13
+ <option name="ADD_CONTENT_ROOTS" value="true" />
14
+ <option name="ADD_SOURCE_ROOTS" value="true" />
15
+ <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
16
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/src/pyVertexModel/analysis/analyse_simulations.py" />
17
+ <option name="PARAMETERS" value="build_ext --inplace" />
18
+ <option name="SHOW_COMMAND_LINE" value="false" />
19
+ <option name="EMULATE_TERMINAL" value="false" />
20
+ <option name="MODULE_MODE" value="false" />
21
+ <option name="REDIRECT_INPUT" value="false" />
22
+ <option name="INPUT_FILE" value="" />
23
+ <method v="2" />
24
+ </configuration>
25
+ </component>
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ mailto:pablovm1990@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Pablo Vicente Munuera
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyVertexModel
3
+ Version: 1.0.2.dev0
4
+ Home-page:
5
+ License-File: LICENSE
6
+ Requires-Dist: cython
7
+ Requires-Dist: numpy
8
+ Requires-Dist: scipy
9
+ Requires-Dist: pillow
10
+ Requires-Dist: scikit-image
11
+ Requires-Dist: cython
12
+ Requires-Dist: vtk
13
+ Requires-Dist: pandas
14
+ Requires-Dist: networkx
15
+ Requires-Dist: pyvista
16
+ Requires-Dist: scikit-learn
17
+ Requires-Dist: matplotlib
18
+ Dynamic: license-file
@@ -0,0 +1,45 @@
1
+ ![logo.png](logo.png)
2
+
3
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17649953.svg)](https://doi.org/10.5281/zenodo.17649953)
4
+ [![Coverage Status](https://coveralls.io/repos/github/Pablo1990/pyVertexModel/badge.svg?branch=main)](https://coveralls.io/github/Pablo1990/pyVertexModel?branch=main)
5
+ [![codecov](https://codecov.io/gh/Pablo1990/pyVertexModel/graph/badge.svg?token=AKGWS79Z61)](https://codecov.io/gh/Pablo1990/pyVertexModel)
6
+
7
+ pyVertexModel is versatile 3D vertex model to model tissue and cell mechanics, in particular, regarding tissue repair.
8
+
9
+ Please, to ensure you use a polished version, use the 'paper' version/branch: https://github.com/Pablo1990/pyVertexModel/tree/paper
10
+
11
+ ## Environment
12
+
13
+ ```bash
14
+ conda create -n pyVertexModel python=3.9
15
+ conda activate pyVertexModel
16
+ pip install -r requirements.txt
17
+ ```
18
+
19
+ ## Usage
20
+ The first time you run the code, you need to compile the cython code. To do so, run the following commands:
21
+ ```bash
22
+ python setup.py build_ext --inplace
23
+ ```
24
+
25
+ To run the code, you can use the following command:
26
+ ```bash
27
+ python main.py
28
+ ```
29
+
30
+ To run the tests, we use 'tox':
31
+ ```bash
32
+ tox
33
+ ```
34
+
35
+ ## Changing the parameters
36
+ You can change the parameters of the model in the `parameters/set.py` file. At the moment, you should change it under
37
+ the 'wing_disc()' function.
38
+
39
+ Each simulation will be saved in a different folder in the `results` directory. The name of the folder will be the date and time of the simulation.
40
+
41
+ ## Help
42
+
43
+ For any issues with the code, you can put an issue in the repository.
44
+ For other matters, you can contact Pablo Vicente Munuera (p.munuera@ucl.ac.uk).
45
+
@@ -0,0 +1,3 @@
1
+ # Security Policy
2
+
3
+ There should not be any breach of your data or security issue with this project
@@ -0,0 +1,3 @@
1
+ import os
2
+
3
+ TEST_DIRECTORY = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))