MultiMM 1.0.7__tar.gz → 1.0.8__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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: MultiMM
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: A tool for chromatin modeling from nucleosomes to chromosomal territories.
5
5
  Home-page: https://github.com/SFGLab/MultiMM
6
6
  Author: Sebastian Korsak
@@ -27,6 +27,16 @@ Requires-Dist: hilbertcurve
27
27
  Requires-Dist: tqdm
28
28
  Requires-Dist: pyvista[all]
29
29
  Requires-Dist: OpenMM
30
+ Dynamic: author
31
+ Dynamic: author-email
32
+ Dynamic: classifier
33
+ Dynamic: description
34
+ Dynamic: description-content-type
35
+ Dynamic: home-page
36
+ Dynamic: license
37
+ Dynamic: requires-dist
38
+ Dynamic: requires-python
39
+ Dynamic: summary
30
40
 
31
41
  # MultiMM: An OpenMM-based software for whole genome 3D structure reconstruction
32
42
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: MultiMM
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: A tool for chromatin modeling from nucleosomes to chromosomal territories.
5
5
  Home-page: https://github.com/SFGLab/MultiMM
6
6
  Author: Sebastian Korsak
@@ -27,6 +27,16 @@ Requires-Dist: hilbertcurve
27
27
  Requires-Dist: tqdm
28
28
  Requires-Dist: pyvista[all]
29
29
  Requires-Dist: OpenMM
30
+ Dynamic: author
31
+ Dynamic: author-email
32
+ Dynamic: classifier
33
+ Dynamic: description
34
+ Dynamic: description-content-type
35
+ Dynamic: home-page
36
+ Dynamic: license
37
+ Dynamic: requires-dist
38
+ Dynamic: requires-python
39
+ Dynamic: summary
30
40
 
31
41
  # MultiMM: An OpenMM-based software for whole genome 3D structure reconstruction
32
42
 
@@ -6,7 +6,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
6
6
 
7
7
  setup(
8
8
  name='MultiMM', # Package name
9
- version='1.0.7', # Version of the software
9
+ version='1.0.8', # Version of the software
10
10
  description='A tool for chromatin modeling from nucleosomes to chromosomal territories.',
11
11
  long_description=long_description,
12
12
  long_description_content_type='text/markdown',
@@ -1,4 +1,4 @@
1
1
  # Importing specific functions or classes from submodules
2
2
  from .run import main
3
3
 
4
- __version__ = "1.0.7"
4
+ __version__ = "1.0.8"
@@ -7,6 +7,14 @@ import argparse
7
7
  import openmm as mm
8
8
  from openmm.unit import Quantity
9
9
 
10
+ # Dynamically set the default path to the XML file in the package
11
+ try:
12
+ with importlib.resources.path('loopsage.forcefields', 'classic_sm_ff.xml') as default_xml_path:
13
+ default_xml_path = str(default_xml_path)
14
+ except FileNotFoundError:
15
+ # If running in a development setup without the resource installed, fallback to a relative path
16
+ default_xml_path = 'simulation/forcefields/ff.xml'
17
+
10
18
  @dataclass
11
19
  class Arg(object):
12
20
  name: str
@@ -131,7 +139,7 @@ args = ListOfArgs([
131
139
  Arg('INITIAL_STRUCTURE_PATH', help="Path to CIF file.", type=str, default='', val=''),
132
140
  Arg('BUILD_INITIAL_STRUCTURE', help="To build a new initial structure.", type=bool, default='True', val='True'),
133
141
  Arg('INITIAL_STRUCTURE_TYPE', help="you can choose between: hilbert, circle.", type=str, default='hilbert', val='hilbert'),
134
- Arg('FORCEFIELD_PATH', help="Path to XML file with forcefield.", type=str, default='', val=''),
142
+ Arg('FORCEFIELD_PATH', help="Path to XML file with forcefield.", type=str, default=default_xml_path, val=default_xml_path),
135
143
  Arg('N_BEADS', help="Number of Simulation Beads.", type=int, default='50000', val='50000'),
136
144
  Arg('COMPARTMENT_PATH', help="It can be either .bed file with subcompartments from Calder or .BigWig signal.", type=str, default='', val=''),
137
145
  Arg('LOOPS_PATH', help="A .bedpe file path with loops. It is required.", type=str, default='', val=''),
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes