Skip to content

fix cobra annotation sharing bug#518

Merged
thetechnocrat-dev merged 2 commits intomainfrom
514-annotations-only-work-for-run-command
Jul 20, 2023
Merged

fix cobra annotation sharing bug#518
thetechnocrat-dev merged 2 commits intomainfrom
514-annotations-only-work-for-run-command

Conversation

@thetechnocrat-dev
Copy link
Copy Markdown

@thetechnocrat-dev thetechnocrat-dev commented Jul 18, 2023

Having the same annotations variable in multiple cmd init() functions was causing annotations to always be empty when using the plex create cmd. This fixes that bug, which is needed to correctly tag metrics. I didn't notice this bug in my earlier PR because I only locally tested with the plex run command.

Running

./plex create -t ./tools/equibind.json -i ./testdata/binding/pdbbind_processed_size1 -a testxy -a testyx --autoRun=true

Yielded the following results in PSQL queries

Screenshot 2023-07-18 at 9 48 45 AM

@thetechnocrat-dev thetechnocrat-dev linked an issue Jul 18, 2023 that may be closed by this pull request
@vercel
Copy link
Copy Markdown

vercel bot commented Jul 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2023 1:53pm

Copy link
Copy Markdown
Contributor

@acashmoney acashmoney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎣 🪙

@thetechnocrat-dev thetechnocrat-dev merged commit b9f68eb into main Jul 20, 2023
@thetechnocrat-dev thetechnocrat-dev deleted the 514-annotations-only-work-for-run-command branch July 20, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

annotations only work for run command

2 participants