Comments (6)
Is this to also add a workaround for paths? I was able to only run the config demo (from a PR) after copying it one level up, and then moved my config.json one level down under demos. I then ran the test_single_batch_run.py
script under demos fine.
from adam_home.
Hm, yes, but I think there already is one - it's in the README here: https://github.com/B612-Asteroid-Institute/adam (export PYTHONPATH=/path/to/adam/:$PYTHONPATH). Did that work for you? I thought it worked for me, but I also might have accidentally 'fixed' my installation some other way.
from adam_home.
Ah I see. It didn't but I could have done something wrong. Either way, the relative path should be the same since it's all in the same repository workspace? So if adam is one level up from the demos, the path should be export PYTHONPATH=../:$PYTHONPATH
or something like that, and it would be good to include it in the notebooks.
from adam_home.
I think it's meant to be absolute path - for me, I ran this (well actually added it to my .bash_profile):
export PYTHONPATH="/Users/lauralark/Documents/GitHub/adam:$PYTHONPATH"
That way it'll work whether you're in demos, the top level folder, or a different folder (e.g. the analysis folders)
from adam_home.
Ok, I see what you are saying. You can go two routes: add a path for each demo notebook that is relative to the adam path, or just add one path to your bash profile that takes care of it all, which is probably easier/cleaner. Thanks for clearing it up.
from adam_home.
I think this can be closed now. Demos work, integration test are in.
from adam_home.
Related Issues (20)
- Hypercube: should all parts of batch have same ephem after running the job? HOT 1
- Integration tests take a long time to run HOT 2
- Investigate: Issues setting up adamctl on Windows HOT 7
- Fix test: integration_tests/reference_frame_test.py:test_sun_ememe
- Fix test or API: integration_tests/anonymous_test.py HOT 1
- Create a notebook using 2018VP1
- Make it clear from the batch module .run() method whether the run completes or not
- Convert Monte Carlo Examples down to one notebook
- Containerization using Docker HOT 9
- Expose enableLogCloseApproaches setting in the ADAM python
- Investigate: Is there a way to clean up Monte Carlo batch jobs?
- Fix and re-enable integration tests
- Update documentation and provide documentation on how to generate new docs
- Move tests outside of the adam package
- Windows: ConfigManager.set_default_env() will fail when renaming the config
- If adamctl login has more than just the `login` argument, require both the profile name and server url
- Divide-by-zero Error HOT 1
- Investigate: Cartesian state vector + covariance triggers hypercube batch run HOT 1
- The close approach distance in the example notebook is not clear HOT 1
- Invalid SSL Certificate on Domain Link in README.md
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 adam_home.