From 5b2ddfbdfca1c8c12f6b08849094b090a7712b06 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Mon, 6 Nov 2023 08:46:21 -0500 Subject: [PATCH 1/2] call function directly from `project.scripts` --- pyproject.toml | 2 +- scripts/asn_from_list | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100755 scripts/asn_from_list diff --git a/pyproject.toml b/pyproject.toml index 0edd94cf3..fd286bbe0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,7 +81,7 @@ 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.scripts.asn_from_list:main' +asn_from_list = 'romancal.associations.asn_from_list:Main' [build-system] requires = [ diff --git a/scripts/asn_from_list b/scripts/asn_from_list deleted file mode 100755 index 9e514e69e..000000000 --- a/scripts/asn_from_list +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python - -from romancal.associations.asn_from_list import Main - -if __name__ == "__main__": - Main() From a214b55c181ac631320c428748aab8445c85b11a Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Mon, 6 Nov 2023 08:50:37 -0500 Subject: [PATCH 2/2] added change log entry --- CHANGES.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 2434f39e0..d7beee957 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -68,6 +68,8 @@ scripts - added ``roman_static_preview`` script to generate static previews of ASDF images [#953] +- fixed ``asn_from_list`` script [#972] + stpipe ------