Remove unused params from config.yaml

pull/128/head
JulioV 2021-03-11 14:57:34 -05:00
parent 13174b0c2a
commit 1b8453bec4
3 changed files with 5 additions and 11 deletions

View File

@ -1,10 +1,6 @@
# See https://www.rapids.science/latest/setup/configuration/#database-credentials ########################################################################################################################
DATABASE_GROUP: &database_group # GLOBAL CONFIGURATION #
MY_GROUP ########################################################################################################################
# See https://www.rapids.science/latest/setup/configuration/#timezone-of-your-study
TIMEZONE: &timezone
America/New_York
# See https://www.rapids.science/latest/setup/configuration/#participant-files # See https://www.rapids.science/latest/setup/configuration/#participant-files
PIDS: [test01] PIDS: [test01]

View File

@ -1,9 +1,10 @@
# This rull will dissapear
rule restore_sql_file: rule restore_sql_file:
input: input:
sql_file = "data/external/rapids_example.sql", sql_file = "data/external/rapids_example.sql",
db_credentials = ".env" db_credentials = ".env"
params: params:
group = config["DATABASE_GROUP"] group = "No_GROUP" #config["DATABASE_GROUP"]
output: output:
touch("data/interim/restore_sql_file.done") touch("data/interim/restore_sql_file.done")
script: script:

View File

@ -1,7 +1,6 @@
$schema: "http://json-schema.org/draft-07/schema#" $schema: "http://json-schema.org/draft-07/schema#"
description: RAPIDS configuration schema description: RAPIDS configuration schema
required: required:
- DATABASE_GROUP
- TIMEZONE - TIMEZONE
- PIDS - PIDS
- CREATE_PARTICIPANT_FILES - CREATE_PARTICIPANT_FILES
@ -113,8 +112,6 @@ definitions:
type: string type: string
properties: properties:
DATABASE_GROUP:
type: string
TIMEZONE: TIMEZONE:
type: object type: object