in line 56, for the ureg.load_definitions command, I had to modify the string to the 'units_def.txt' to include the full path of the file, and then the command was able to find the file.
my line now looks like this:
ureg.load_definitions('/Users/mc4214/GIT/PSSdb/scripts/units_def.txt')
|
ureg.load_definitions('units_def.txt') # This text file is used to define custom units from standard units (e.g. square_pixel etc.) |
in line 56, for the
ureg.load_definitionscommand, I had to modify the string to the'units_def.txt'to include the full path of the file, and then the command was able to find the file.my line now looks like this:
ureg.load_definitions('/Users/mc4214/GIT/PSSdb/scripts/units_def.txt')PSSdb/scripts/funcs_export_standardizer.py
Line 56 in 306bd87