Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
249 option for accessing raw files using ssh connection (#257)
* rewrite instruments loaders - all .loader methods must now start with assigning self.name and running self._shutil_copy2 - fid is generated through running self.generate_fid() and fid is added to the Data instances using self.fid as argument. These changes are introduced to allow for accessing files on remote locations using e.g. sftp. * add comments on what to do next * fix bug in arbin_res.py * fix bug in arbin_res.py * update OtherPath so that it works also for edge-cases (not tested on linux yet) * fix bug in posix reading of arbin_res.py * rename copy method in base and start implementing function in core for copying from external * start to put meat on the bones - but still some way to go * start to put meat on the bones - but still some way to go * start to put meat on the bones - but still some way to go * update OtherPath to behave a bit nicer, and continue working on copying files from external source (copy_external_file). * test OtherPath * further improvements of OtherPath, include downloading capability as well as moving the reading parameter-file from init to prmreader (but still calling it in __init__) and add reading .env file * using OtherPath.copy in instrument readers for making a copy * using OtherPath.copy in instrument readers for making a copy * using OtherPath.copy in instrument readers for making a copy * add testing of environment vars and otherpath copy * In CellpyCell, instead of directly running .loader (when running .from_raw), run .execute_loader instead (that in turn runs the .loader for you) - this makes it possible to do stuff before and after running the .loader method. * set _is_db = True as class instance in arbin_sql and arbin_sql_7 * update settings for readthedocs * update settings for readthedocs * update settings for readthedocs
- Loading branch information
Showing
40 changed files
with
1,005 additions
and
1,293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
|
||
formats: all | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/conf.py | ||
|
||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.9" | ||
|
||
conda: | ||
environment: docs/environment_rtd.yml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.