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

Add ersilia base image docker upload to Ersilia Release workflow #1297

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

rohitgupta29
Copy link

@rohitgupta29 rohitgupta29 commented Oct 6, 2024

Thank you for taking your time to contribute to Ersilia, just a few checks before we proceed

  • Have you followed the guidelines in our Contribution Guide
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Description

Moved the docker build job from workflow to add as a parallel job in Ersilia Release (https://github.com/ersilia-os/ersilia/blob/master/.github/workflows/publish.yaml)

Changes to be made

Is this pull request related to any open issue? If yes, replace issueID below with the issue ID

Related to #1297

@rohitgupta29 rohitgupta29 changed the title add docker build image job to publish.yaml Add ersilia base image docker upload to Ersilia Release workflow Oct 6, 2024
@DhanshreeA
Copy link
Member

@rohitgupta29 Please resolve conflicts on this PR

ersilia api -i "CCC" > output_one_0.json
ersilia api -i "CCC" -o output_one_1.json
ersilia api -i "CCC" -o output_one_3.csv
ersilia api -i test/inputs/compound_list.csv > output_list_0.json
Copy link

Choose a reason for hiding this comment

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

Hi @rohitgupta29 I think the api command was removed from the CLI and if you pulled changes as @DhanshreeA requested you'll notice...

Copy link
Author

@rohitgupta29 rohitgupta29 Oct 12, 2024

Choose a reason for hiding this comment

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

Hi @P-Mefut!
I am checking it and will share about it in some time.

Copy link
Author

Choose a reason for hiding this comment

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

Hi @P-Mefut ...Can you share a bit more more details on this?
For my repo, it does not show code from line 58 (ersilia api -i test/inputs/compound_list.csv > output_list_0.json), after pull also.

Copy link
Member

Choose a reason for hiding this comment

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

@rohitgupta29 this is because you first need to sync your fork of ersilia from the original ersilia repo, and then pull those changes locally (because your fork is your remote, and not the original ersilia repo)

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the catch @P-Mefut !

@P-Mefut
Copy link

P-Mefut commented Oct 12, 2024

##Hi @rohitgupta29 please pull changes and you'll see codes that have been removed from the ersilia ClI such as the api command which you still have in your workflow. Also I think we should leave easy to understand comments within the code for newbies to code to easily understand the workflow and how to interact with it...

@rohitgupta29
Copy link
Author

##Hi @rohitgupta29 please pull changes and you'll see codes that have been removed from the ersilia ClI such as the api command which you still have in your workflow. Also I think we should leave easy to understand comments within the code for newbies to code to easily understand the workflow and how to interact with it...

Thanks @P-Mefut. Thanks for the feedback. I will add the comments today. 👍

ersilia api -i "CCC" > output_one_0.json
ersilia api -i "CCC" -o output_one_1.json
ersilia api -i "CCC" -o output_one_3.csv
ersilia api -i test/inputs/compound_list.csv > output_list_0.json
Copy link
Member

Choose a reason for hiding this comment

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

@rohitgupta29 this is because you first need to sync your fork of ersilia from the original ersilia repo, and then pull those changes locally (because your fork is your remote, and not the original ersilia repo)

ersilia api -i "CCC" > output_one_0.json
ersilia api -i "CCC" -o output_one_1.json
ersilia api -i "CCC" -o output_one_3.csv
ersilia api -i test/inputs/compound_list.csv > output_list_0.json
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the catch @P-Mefut !

@DhanshreeA
Copy link
Member

@rohitgupta29 please sync your fork with the latest changes in ersilia, and then pull those locally, and then please rebase your branch and push again. Thanks! Presently you have older code that has been modified.

@rohitgupta29
Copy link
Author

@rohitgupta29 please sync your fork with the latest changes in ersilia, and then pull those locally, and then please rebase your branch and push again. Thanks! Presently you have older code that has been modified.

Thank you @P-Mefut for noticing it. Now, my fork is in sync with the latest changes :)

Thank you @DhanshreeA for helping here. Have updated the code with code comments for updated parts.

@DhanshreeA
Copy link
Member

@rohitgupta29 I do not see the latest changes on this PR still. Please fix this, otherwise this can't be merged.

@P-Mefut
Copy link

P-Mefut commented Oct 13, 2024

@rohitgupta29 You need to sync your forked repo with the official Ersilia repo before this can be merged so as to resolve any merge conflicts...

@rohitgupta29
Copy link
Author

@rohitgupta29 I do not see the latest changes on this PR still. Please fix this, otherwise this can't be merged.

Hi @DhanshreeA @P-Mefut , I have synced my latest changes in this pull request. I have also synced my fork with the ersilia repository.
Can you guide me if i am missing anything?

@P-Mefut
Copy link

P-Mefut commented Oct 13, 2024

hi @rohitgupta29 yes you have synced the repo but you still have the api command in your config.yml file

@rohitgupta29
Copy link
Author

hi @rohitgupta29 yes you have synced the repo but you still have the api command in your config.yml file

Hi @P-Mefut ,
I can see these api commands you have shared in the ersilia github repo also.

@P-Mefut
Copy link

P-Mefut commented Oct 13, 2024

hi @rohitgupta29 yes you have synced the repo but you still have the api command in your config.yml file

Hi @P-Mefut , I can see these api commands you have shared in the ersilia github repo also.

config.yml @rohitgupta29 here's the file where you have used the unsupported api command and you need to update it before merging would be possible...

@rohitgupta29
Copy link
Author

rohitgupta29 commented Oct 13, 2024

hi @rohitgupta29 yes you have synced the repo but you still have the api command in your config.yml file

Hi @P-Mefut , I can see these api commands you have shared in the ersilia github repo also.

config.yml @rohitgupta29 here's the file where you have used the unsupported api command and you need to update it before merging would be possible...

Thank you so much @P-Mefut for clearifying. It helped me realize the needed. Will take care of such things ahead. Have updated the config.yml file :)

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.

4 participants