Skip to content

Refactor updateImpress to use newly generated metadataParameters.csv instead of updating DRrequiredAgeing package locally #94

@marinak-ebi

Description

@marinak-ebi

updateImpress function is currently updating metadataParameters.csv in the DRrequiredAgeing package on cluster. Location of updated file is: ${PATH}/miniconda_08082022/miniconda/envs/R/lib/R/library/DRrequiredAgeing/extdata/metadataParameters.csv

  1. Navigate following message in the log file stats_pipeline_${VERSION}.err to find path to the new metadataParameters.csv:

    message0('\tThe metadatafile file:\n\t => ', fileNameMeta)

  2. Comparison of the metadataParameters.csv above and the metadataParameters.csv uploaded on GitHub shows those files differ and updated file has 11,182 rows vs. 10,420 in the GitHub file.

  3. metadataParameters.csv is still in use:

    MetaDataList = read.csv(file = file.path(local(), 'metadataParameters.csv'))

Because of that, we need to refactor updateImpress to use successfully singularity container. This approach of updating the file is not an option.

  • Get rid of updating the package locally on conda
  • Refactor the code, so it will be using locally generated metadataParameters.csv file

Metadata

Metadata

Assignees

Labels

refactorRestructure code, but not its functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions