Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GSASII/GSASIIscriptable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ def add_phase(self, phasefile=None, phasename=None, histograms=[],

# process constraints, currently generated only from ISODISTORT CIFs
if phasereader.Constraints:
Constraints = self.data['Constraints']
Constraints = self.data['Constraints']['data']
for i in phasereader.Constraints:
if isinstance(i, dict):
if '_Explain' not in Constraints:
Expand Down
2 changes: 1 addition & 1 deletion GSASII/install/makeLinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def Usage():
# find the main GSAS-II script if not on command line
path2GSAS2 = os.path.dirname(os.path.dirname(__file__))
path2repo = os.path.dirname(path2GSAS2)
G2script = os.path.abspath(path2GSAS2,"G2.py")
G2script = os.path.abspath(os.path.join(path2GSAS2,"G2.py"))
elif __file__.endswith("makeLinux.py") and len(sys.argv) == 2:
G2script = os.path.abspath(sys.argv[1])
path2GSAS2 = os.path.dirname(G2script)
Expand Down