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

Running Release v1.1.0 #4

Open
anthonysena opened this issue Aug 1, 2024 · 0 comments
Open

Running Release v1.1.0 #4

anthonysena opened this issue Aug 1, 2024 · 0 comments

Comments

@anthonysena
Copy link
Collaborator

If you ran Release v1.0.0 of the study, we'd like for you to re-run the updated Cohort Method analysis. This issue will detail the steps to do this. If you did not run the study already, ignore this issue and just follow the instructions in the README.

Steps to follow:

  • Save a copy of your StrategusCodeToRun.R file from the root of the project folder to preserve your site-specific information.
  • In the results folder (In my case: D:\git\ohdsi-studies\SemaglutideNaion\results\<database_id>), remove the following subfolders for CohortMethod: D:\git\ohdsi-studies\SemaglutideNaion\results\MDCD\strategusOutput\CohortMethodModule and D:\git\ohdsi-studies\SemaglutideNaion\results\MDCD\strategusWork\CohortMethodModule
  • Download (or git pull) the latest code for this study to the machine where you are running the study.

At this point you are ready to run the study. Here are the steps to follow to only run the CohortMethod analysis

  • In your StrategusCodeToRun.R, add the following lines:
# CM Only
analysisSpecifications$moduleSpecifications <- analysisSpecifications$moduleSpecifications[4]

So that the end of your script looks like:

# CM Only
analysisSpecifications$moduleSpecifications <- analysisSpecifications$moduleSpecifications[4]

Strategus::execute(
  analysisSpecifications = analysisSpecifications,
  executionSettings = executionSettings,
  connectionDetails = connectionDetails
)

To explain what this code modification does: analysisSpecifications$moduleSpecifications <- analysisSpecifications$moduleSpecifications[4] will limit the analysisSpecifications to only run the CohortMethod part of the overall analysis specification.

Please post any issues/questions/concerns about this procedure here. Thank you!

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

No branches or pull requests

1 participant