From 9fc67018282d2a3c23f5c83f4dcc1b08e4a733e0 Mon Sep 17 00:00:00 2001 From: Zebulun Arendsee Date: Fri, 5 Apr 2024 08:07:16 -0400 Subject: [PATCH] Update helper file names in case study --- demos/02_flu/{entrez_helpers.hpp => entrez.hpp} | 0 demos/02_flu/{entrez_helpers.py => entrez.py} | 0 demos/02_flu/main.loc | 10 +++++----- 3 files changed, 5 insertions(+), 5 deletions(-) rename demos/02_flu/{entrez_helpers.hpp => entrez.hpp} (100%) rename demos/02_flu/{entrez_helpers.py => entrez.py} (100%) diff --git a/demos/02_flu/entrez_helpers.hpp b/demos/02_flu/entrez.hpp similarity index 100% rename from demos/02_flu/entrez_helpers.hpp rename to demos/02_flu/entrez.hpp diff --git a/demos/02_flu/entrez_helpers.py b/demos/02_flu/entrez.py similarity index 100% rename from demos/02_flu/entrez_helpers.py rename to demos/02_flu/entrez.py diff --git a/demos/02_flu/main.loc b/demos/02_flu/main.loc index 7ef0fda0..c0d8faab 100644 --- a/demos/02_flu/main.loc +++ b/demos/02_flu/main.loc @@ -27,9 +27,9 @@ import bio.db ) -- Import generic functions -import base (id, const, at, map, ne, fst, snd, concat, filter, shard, gt, - eq, head, take, ifelse, branch, join, paste, keys, size, onFst, - sleep, unique, withSnds, readMap) +import base (id, const, map, ne, fst, snd, concat, filter, shard, + eq, head, ifelse, branch, join, keys, size, onFst, + sleep, unique, readMap) -- Type aliases @@ -40,14 +40,14 @@ type Date = Str -- Source python functions for dealing with Entrez records -source Py from "entrez_helpers.py" +source Py from "entrez.py" ( "parseRecord" , "labelRef" , "setLeafName" ) -- Source C++ alternative for one of these functions -source Cpp from "entrez_helpers.hpp" ("setLeafName") +source Cpp from "entrez.hpp" ("setLeafName") -- Define the general type of each function parseRecord :: JsonObj -> (JsonObj, Sequence)