Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IBCDPE-527] Makes syn always required #97

Merged
merged 6 commits into from
Nov 22, 2023

Conversation

BWMac
Copy link
Contributor

@BWMac BWMac commented Nov 22, 2023

Problem:

An initialized synapseclient.Synapse object is optional in several places in the codebase leading to the need for multiple conditional syn.login() lines throughout which is confusing.

Solution:

Make everywhere that a syn argument is used required and remove all extra login lines. The syn object that is initialized in the command process is then passed to all later functions as needed. Remove tests that are no longer needed after the removal of the conditional logins.

@BWMac BWMac changed the title Bwmac/IBCDPE-527/syn_required [IBCDPE-527] Makes syn always required Nov 22, 2023
Copy link
Member

@thomasyu888 thomasyu888 left a comment

Choose a reason for hiding this comment

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

👍🏼 LGTM! Just one small comment.

src/agoradatatools/process.py Outdated Show resolved Hide resolved
@BWMac BWMac marked this pull request as ready for review November 22, 2023 19:58
@BWMac BWMac merged commit 8112d98 into bwmac/IBCDPE-688/gx-metabolomics Nov 22, 2023
5 checks passed
@BWMac BWMac deleted the bwmac/IBCDPE-527/syn_required branch November 22, 2023 19:59
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.

2 participants