From d6c22fdbc710246896a8eff86f457ec0d6c71c60 Mon Sep 17 00:00:00 2001 From: JulioV Date: Mon, 15 Mar 2021 19:35:58 -0400 Subject: [PATCH] Fix an import bug and docs --- docs/migrating-from-old-versions.md | 2 +- rules/common.smk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/migrating-from-old-versions.md b/docs/migrating-from-old-versions.md index 83b5c4fa..ee250da1 100644 --- a/docs/migrating-from-old-versions.md +++ b/docs/migrating-from-old-versions.md @@ -10,9 +10,9 @@ There are four actions that you need to take if you were using RAPIDS `0.4.3` or ??? check "Deploy RAPIDS in a new folder" - Clone RAPIDS 1.x in a new folder (do not pull the updates in your current folder) + - Activate your conda environment - Install renv again `snakemake -j1 renv_install` (for Ubuntu take advantage of the [platform specific R `renv` instructions](../setup/installation)) - Restore renv packages `snakemake -j1 renv_restore` (for Ubuntu take advantage of the [platform specific R `renv` instructions](../setup/installation)) - - Activate your conda environment - Move your participant files `pxx.yaml` to the new folder - Move your time segment files to the new folder - Move your `.env` file to the new folder diff --git a/rules/common.smk b/rules/common.smk index 29ee7b71..3e34a105 100644 --- a/rules/common.smk +++ b/rules/common.smk @@ -43,6 +43,7 @@ def get_phone_sensor_names(): return phone_sensor_names def pull_phone_data_input_with_mutation_scripts(wilcards): + from pathlib import Path import yaml input = dict() phone_stream = config["PHONE_DATA_STREAMS"]["USE"]