From 0b38073f48029ceaa026361d6e6cb8922a609cb4 Mon Sep 17 00:00:00 2001 From: zgoldberg22 Date: Thu, 1 Feb 2024 11:16:02 -0500 Subject: [PATCH] delete constraint file, returning tag id --- GNC-A-0014.ts | 5 ----- src/aerie_cli/aerie_client.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 GNC-A-0014.ts diff --git a/GNC-A-0014.ts b/GNC-A-0014.ts deleted file mode 100644 index 639d6b2..0000000 --- a/GNC-A-0014.ts +++ /dev/null @@ -1,5 +0,0 @@ -/*** - * For flybys on RWA control, when at altitudes less than 10,000 km from a celestial body, the SC Y-axis must remain - * within 7 degrees from nadir crosstrack. - */ -export default (): Constraint => Discrete.Resource("GNC-A-0014").equal(true); \ No newline at end of file diff --git a/src/aerie_cli/aerie_client.py b/src/aerie_cli/aerie_client.py index f6cc8fa..5f2e1a0 100644 --- a/src/aerie_cli/aerie_client.py +++ b/src/aerie_cli/aerie_client.py @@ -1673,7 +1673,7 @@ def add_constraint_tag(self, constraint_id: int, tag_name: str): tag_id=self.get_tag_id_by_name(tag_name) ) - return resp['returning'][0] + return resp['returning'][0]["tag_id"] def upload_constraint(self, constraint, tags=None): upload_constraint_query = """