Comments (6)
Current effort is saved in this PR: #216, but haven't finished yet.
by Hsiao Yi
from genomics-workspace.
I think this will be a good way to implement this feature:
https://docs.djangoproject.com/en/1.11/howto/custom-management-commands/
For example, we can implement a command to do something like:
python manage.py add_organism -i config.json
to add an organism (with information written in config.json)
from genomics-workspace.
success to make an demo.py for customize django manage.py
step 1. adding the two folder under the specific app (in this case put it in /genomics-workspace/app/)
step 2. remember to make the init.py for each folder that python can make it as the package
step 3. the customize command category must inherit BaseCommand and the function name need to be "handle"
from genomics-workspace.
Complete the feature : automatically generate the short_name
Now working on web scraping tutorial and finished the demo part.(scrape the S&P 500 value from bloomberg website, the problem that I have encountered was the bloomberg website rejected my request because it treated me as a robot.
I solve it by using the "fake header" in my script
from genomics-workspace.
Complete the whole progress to add database by script, I push to our repo and encounter several issue
- Django 1.11.15 has known security vulnerabilities. It suggests that we should update to 1.11.19
- it analyzes I import several module which was useless, however I indeed use those package.
- To integrate to the CWL project it seems that we need to host the genomics-project to CWL project due to the command we use for "python manage.py" . It will make our CWL really huge so we need to figure it out if there are the other solutions.
from genomics-workspace.
Closing in favor of #280.
from genomics-workspace.
Related Issues (20)
- Re-written [BLAST query page] by React JS library HOT 5
- [BLAST query page] Organism display order HOT 1
- Final step to Integrate the adding organism functionality to CWL and fix CI issue HOT 3
- All feature under manage.py command HOT 3
- Do we need the sequences table? HOT 1
- Adding delete feature to script HOT 2
- Test if linkouts appear when ENABLE_JBROWSE_INTEGRATION = False HOT 1
- add CLI function to set is_shown HOT 3
- The blast_sequence table is big and only getting bigger HOT 10
- Moving docker version to the new repo
- vulnerabilities of django 1.11.20 and update blastdbcmd argument HOT 3
- Update readthedocs with command line interface documentation
- Consider truncating BLAST results when they are too large
- manage.py addOrganism capitalizes the short_name entry
- Using dbtitle in blast-results.js is awkward
- disable travis CI HOT 1
- Problems with multiple space characters in organism name
- google analytics code is missing
- change draggableBlastFeature to draggableNeatBlastFeature HOT 1
- Add Apollo link-outs to transcript and protein features 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 genomics-workspace.