Skip to content

Commit 2da9a6b

Browse files
authored
Merge pull request #244 from AdityaSavara/DeepcopyForPrototypicalReferenceData
Deepcopy for prototypical reference data
2 parents b27e478 + ab31027 commit 2da9a6b

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

MSRESOLVE.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5206,7 +5206,7 @@ def main():
52065206
G.collectedFileUncertainties = int(G.collectedFileUncertainties)
52075207

52085208

5209-
prototypicalReferenceData = ReferenceDataList[0]
5209+
prototypicalReferenceData = copy.deepcopy(ReferenceDataList[0])
52105210

52115211
#Prints a warning if the user has more reference files than specified time ranges
52125212
if len(G.referencePatternTimeRanges) > 0 and (len(G.referenceFileNamesList) > len(G.referencePatternTimeRanges)):
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
The setting of useExtentOfSLSUniqueSolvable was used. The best combination is the last in this file.
2-
Time taken:0.03124213218688965
3-
[(28.0, 45.0, 46.0), (15.0, 28.0, 31.0), (25.0, 28.0, 31.0), (26.0, 28.0, 31.0), (27.0, 28.0, 31.0), (28.0, 29.0, 31.0), (28.0, 30.0, 31.0), (28.0, 31.0, 43.0), (28.0, 31.0, 45.0), (28.0, 31.0, 46.0)]
2+
Time taken:1.318150520324707
3+
[(28.0, 31.0, 44.0, 57.0), (28.0, 31.0, 45.0, 57.0), (28.0, 31.0, 46.0, 57.0), (28.0, 31.0, 50.0, 57.0), (28.0, 31.0, 51.0, 57.0), (28.0, 31.0, 53.0, 57.0), (28.0, 31.0, 54.0, 57.0), (28.0, 31.0, 55.0, 57.0), (28.0, 31.0, 57.0, 71.0), (28.0, 31.0, 57.0, 72.0)]
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#ComentsLine,,
2-
Molecules,Ethylene (Ethene),Ethanol
3-
28.0,100.0,0.0
4-
45.0,0.0,43.762209857363835
5-
46.0,0.0,18.23431239739768
1+
#ComentsLine,,,
2+
Molecules,Ethylene (Ethene),Ethanol,Crotyl Alcohol
3+
Electron Numbers,16,26,40
4+
knownMoleculesIonizationTypes,unknown,unknown,unknown
5+
knownIonizationFactorsRelativeToN2,unknown,unknown,unknown
6+
SourceOfFragmentationPatterns,NIST,NIST,NIST
7+
SourceOfIonizationData,,,
8+
Molecular Mass,28.0532,46.0684,72.1057
9+
27.0,63.32545620828447,23.784859078083752,54.221916806279644
10+
28.0,100.0,0.0,18.461720805441836
11+
29.0,0.0,30.73673009667451,93.41620158582644
12+
57.0,0.0,0.0,99.99999999999999

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
EMAIL = 'AditySavara2008@u.northwestern.edu'
2222
AUTHOR = 'Aditya Savara'
2323
REQUIRES_PYTHON = '>=3.5.0'
24-
VERSION = '40.0.0'
24+
VERSION = '40.1.0'
2525
LICENSE = 'BSD-3-Clause'
2626

2727
# What packages are required for this module to be executed?

0 commit comments

Comments
 (0)