Comments (2)
Did you try setting up a connection using a configuration file instead of plain credentials?
See save_config
in http://pyxnat.github.io/pyxnat/starters_tutorial.html.
Once this configuration file created, you may pass it to the Interface
constructor to connect to the XNAT instance without displaying any sensitive information in the script.
Also more details here: First steps with pyxnat.
Then you should be able to upload your code to GitHub such as in this example.
@samiraepp does it help?
from pyxnat.
Creating an xnat_config.cfg file instead of an .xnatPass file, as provided in your example http://xgrg.github.io/first-steps-with-pyxnat/, worked wonders!
Thanks a lot!
from pyxnat.
Related Issues (20)
- Refactor `help.py` informative functions with prints
- Tests won't run any more on Docker-based XNAT instance. HOT 1
- Wrong `cache_dir` variable (session_mirror.py)
- Please tag releases in sync with pypi HOT 4
- Add a lint check in Travis HOT 2
- Resource download does not work in WinOS
- XNAT REST API inconsistency derives in unexpected exception when listing Experiment resources
- pip install fails on MacOS Big Sur HOT 1
- docs: define resources in the tutorial page HOT 4
- is it possible to push data to prearchive ? HOT 4
- SSLE error (cached) HOT 5
- Receiving empty list, not list of projects HOT 4
- xnat-docker-compose pinned to specific tag due to CI-related errors
- nosetests deprecation in Debian HOT 4
- Central XNAT shutdown HOT 1
- Cannot open documentation HOT 3
- Pip install: Syntax error when preparing metadata --> pyxnat-0.9.5.2.tar.gz HOT 3
- `save_config` fails when location is in the working directory HOT 3
- USER.ID Not being populated on project. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyxnat.