Commit 8a18c640237c645bc850213a948e483511aa98e2
1 parent
19813230
Exists in
dev
call fcontexts_human.
Showing
1 changed file
with
12 additions
and
1 deletions
Show diff stats
src/core/pyros_django/scheduling/A_Scheduler.py
... | ... | @@ -134,7 +134,18 @@ class A_Scheduler(Agent): |
134 | 134 | if self.is_in_test_mode(): |
135 | 135 | self._fn.rootdir = os.path.abspath(self._fn.rootdir.replace("/PRODUCTS/","/PRODUCTS/TESTS/")) |
136 | 136 | os.makedirs(self._fn.rootdir, exist_ok=True) |
137 | - log.info(f"{fcname} : {self._fn.fdescription} {self._fn.rootdir}/[{self._fn.pathing()}]/[{self._fn.naming()}]{self._fn.extension}") | |
137 | + log.info(self._fn.fcontexts_human()) | |
138 | + | |
139 | + """ | |
140 | + def config_check_contexts(self, modetest:bool, loginfo:bool): | |
141 | + for fcname in self.fn.fcontexts: | |
142 | + self.fn.fcontext = fcname | |
143 | + if self.is_in_test_mode(): | |
144 | + self.fn.rootdir = os.path.abspath(self.fn.rootdir.replace("/PRODUCTS/","/PRODUCTS/TESTS/")) | |
145 | + os.makedirs(self._fn.rootdir, exist_ok=True) | |
146 | + if loginfo: | |
147 | + log.info(self.fn.fcontext_human()) | |
148 | + """ | |
138 | 149 | |
139 | 150 | # === Set longitude to sequence file context to manage the night subdirectories |
140 | 151 | longitude = home.longitude |
... | ... |