You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file, instrument.py there appears to be an issue on lines 688, 690, 692, where the self. is missing on the call to the class method convertToCounts(). I got this error in the traceback:
File "example.py", line 92, in <module>
run_stips(catname,'myimages')
File "example.py", line 71, in run_stips
name=obm.addCatalogue(catname)
File "/Users/rryan/Roman/Tickets/INC0170043/STScI-STIPS-master/stips/observation_module/observation_module.py", line 253, in addCatalogue
cats = self.instrument.addCatalogue(catalogue, self.id, *args, **kwargs)
File "/Users/rryan/Roman/Tickets/INC0170043/STScI-STIPS-master/stips/instruments/instrument.py", line 275, in addCatalogue
cat = self.convertCatalogue(catalogue, obs_num)
File "/Users/rryan/Roman/Tickets/INC0170043/STScI-STIPS-master/stips/instruments/instrument.py", line 388, in convertCatalogue
return self.handleConversion(catalogue, table_type, obsname)
File "/Users/rryan/Roman/Tickets/INC0170043/STScI-STIPS-master/stips/instruments/instrument.py", line 442, in handleConversion
out_chunk, cached = cat_function(current_chunk, bp, cached)
File "/Users/rryan/Roman/Tickets/INC0170043/STScI-STIPS-master/stips/instruments/instrument.py", line 688, in readMixedTable
rates[idxp] *= convertToCounts('p')
NameError: name 'convertToCounts' is not defined
The text was updated successfully, but these errors were encountered:
In the file,
instrument.py
there appears to be an issue on lines 688, 690, 692, where theself.
is missing on the call to the class methodconvertToCounts()
. I got this error in the traceback:The text was updated successfully, but these errors were encountered: