Skip to content
Snippets Groups Projects

Assist: abstractautoformatter irdb is an external

Merged CI Bot requested to merge assist/autoformat/wjv/bugfix/rm_irdb/ed7cdae4 into wjv/bugfix/rm_irdb
Compare and
1 file
+ 8
2
Preferences
File browser
Compare changes
@@ -61,13 +61,19 @@ class HardwareThingExtra(Hardware):
}
)
elif issubclass(self.__class__, RelayOptics):
if (Path(irdb.__path__[0]) / 'MICADO' / 'FITS_extra_keywords_Standalone_RO.yaml').exists():
if (
Path(irdb.__path__[0])
/ "MICADO"
/ "FITS_extra_keywords_Standalone_RO.yaml"
).exists():
effects.append(
{
"class": "ExtraFitsKeywords",
"description": "adds extra FITS keywords from a yaml file",
"name": "extra_fits_keywords_ro",
"kwargs": {"filename": "FITS_extra_keywords_Standalone_RO.yaml"},
"kwargs": {
"filename": "FITS_extra_keywords_Standalone_RO.yaml"
},
}
)