You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 OnlyanalysisSpecifications$moduleSpecifications<-analysisSpecifications$moduleSpecifications[4]
So that the end of your script looks like:
# CM OnlyanalysisSpecifications$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!
The text was updated successfully, but these errors were encountered:
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:
StrategusCodeToRun.R
file from the root of the project folder to preserve your site-specific information.D:\git\ohdsi-studies\SemaglutideNaion\results\<database_id>
), remove the following subfolders for CohortMethod:D:\git\ohdsi-studies\SemaglutideNaion\results\MDCD\strategusOutput\CohortMethodModule
andD:\git\ohdsi-studies\SemaglutideNaion\results\MDCD\strategusWork\CohortMethodModule
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
StrategusCodeToRun.R
, add the following lines:So that the end of your script looks like:
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!
The text was updated successfully, but these errors were encountered: