Skip to content

Commit

Permalink
fix return code for asn_from_list and skycell_asn, remove unused scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 25, 2024
1 parent bee71ba commit f0489a9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ webbpsf = "pytest_plugin.webbpsf_plugin"
[project.scripts]
roman_static_preview = "romancal.scripts.static_preview:command"
okify_regtests = "romancal.scripts.okify_regtests:main"
schema_editor = "romancal.scripts.schema_editor:main"
schemadoc = "romancal.scripts.schemadoc:main"
verify_install_requires = "romancal.scripts.verify_install_requires:main"
asn_from_list = "romancal.associations.asn_from_list:Main"
skycell_asn = "romancal.associations.skycell_asn:Main"
asn_from_list = "romancal.associations.asn_from_list:main"
skycell_asn = "romancal.associations.skycell_asn:main"

[build-system]
requires = [
Expand Down
4 changes: 4 additions & 0 deletions romancal/associations/asn_from_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,7 @@ def __init__(self, args=None):
)
_, serialized = asn.dump(format=parsed.format)
outfile.write(serialized)


def main():
Main()
7 changes: 5 additions & 2 deletions romancal/associations/skycell_asn.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ def __init__(self, args=None):
skycell_asn(self)


if __name__ == "__main__":

def main():
Main()


if __name__ == "__main__":
main()

0 comments on commit f0489a9

Please sign in to comment.