Comments (28)
from cellbrowser.
I hadn't done that and just gave it a try, it doesn't seem to have solved the issue (or I did it incorrectly). Unfortunately, our instance is currently not public, so I will try to briefly summarize the situation:
- We have one folder (User1) that contains two datasets (Dataset1 & Dataset2)
- The ~/.cellbrowser.conf file does not seem to be present the home folder so I ran
export CBDATAROOT='/home/cellbrowser/User1/'
- I copied cellbrowser.conf and desc.conf from Dataset1 to the User1 folder and edited as described in the link
- I run cbBuild -r /home/cellbrowser/html -p 8999 within the User1 folder, this runs but does not start a CellBrowser server
- I tried running the same command within the Dataset1 folder, which runs and creates a CellBrowser server but no index/title page
from cellbrowser.
from cellbrowser.
Thanks! My home directory doesn't have a .cellbrowser.conf file though. Is it located somewhere else when using a conda environment by any chance?
from cellbrowser.
from cellbrowser.
Done, but to no avail. Also the command cbBuild -r -o /home/cellbrowser/html -p 8999 runs but does not yields a message like: Serving /home/cellbrowser/html/ on port 8999
Point your internet browser to http://127.0.0.1:8999 (or the IP address of this server)
from cellbrowser.
from cellbrowser.
I ran the code as you described. The webserver it launches is empty, I cannot access any datasets even by their url. Going to the html folder and opening the index html gives the following error: Could not find a dataset at dataset.json?86f083f58d. Would it make sense to do a video call so I show you?
from cellbrowser.
from cellbrowser.
So our ~/.cellbrowser.conf file contains a single line: dataRoot = "/home/cellbrowser/OutputData/Bob/"
Within the html folder there are indeed the desc.json, the inded.html and dataset.json file
from cellbrowser.
from cellbrowser.
Yes, sorry that was just for privacy reasons. I indeed have the following two folders:
/home/cellbrowser/OutputData/Bob/Dataset1
/home/cellbrowser/OutputData/Bob/Dataset2
These contain the objects created with cbImportScanpy
The folder Bob contains the cellbrowser.conf and desc.conf files as per the documentations instructions.
The newly created .cellbrowser.conf file is in /home/cellbrowser/
I can run cbBuild -r within the folder /home/cellbrowser/OutputData/Bob/ and this will generate the html and json files within /home/cellbrowser/html. However, clicking on the html file I get the error previously mentioned. I can also run cbBuild within the dataset folders themselves but that gives a similar outcome.
from cellbrowser.
from cellbrowser.
from cellbrowser.
Hi. I'm running into same proplem. In my case a computer restart worked and data hierarchy was created, at least inside the html folder I could see 'inDir' and the path to my root data directory in html/dataset.json file. However, when I open the browser by typing python -m http.server 8080
inside the html directory, the UI shows nothing. Under the developer tools, I see the following error message. Even opening the link http://cells.ucsc.edu/ does not show anything anymore.
from cellbrowser.
from cellbrowser.
from cellbrowser.
Hi @tkakar and @Bhersbach, sorry that it took me so long to understand what's going on. It had nothing to do with the hierarchy, but was a typo in the new diseases filter, I had fixed that in the develop branch, it slipped into the last release. Here is a new pre-release https://pypi.org/project/cellbrowser/1.2.1a1/ (I must release soon) You can install it with
"pip install --pre cellbrowser --upgrade"
from cellbrowser.
@maximilianh thanks for fixing the issue. I did as suggested. The disease
related error is gone.
The individual datasets can be accessed via ?ds=datasetName
on the url, but the data hierarchy still does not work. Under developer tools, I see errors. Posting screen shot of both scenarios (individual dataset and hiararchy).
from cellbrowser.
from cellbrowser.
@maximilianh. I'm emailing the whole file, but the code around line 1138 is below
for (var category of categories) {
var filtList = filtVals[category];
var domList = domVals[category];
let found = false;
if (filtList.length===0)
found = true;
for (var filtVal of filtList)
if (domList.indexOf(filtVal)!=-1)
found = true;
if (!found) {
isShown = false;
break;
}
}
Unfortunately, due to data confidentiality, I cannot share the website.
from cellbrowser.
from cellbrowser.
It's this line. if (filtList.length===0)
from cellbrowser.
from cellbrowser.
@maximilianh thanks for troubleshooting this with me. My .conf files were based on some previous version from repo where other categories were not defined (except the body_parts). I just updated it and it's working now. Thanks for all your help.
from cellbrowser.
from cellbrowser.
from cellbrowser.
from cellbrowser.
Related Issues (20)
- mtx nomenclature in conf file HOT 2
- Question - Linking cellBrowser through another web-app with dynamic data selection HOT 9
- gene expression and proteins together HOT 4
- stop() instead of error() in the cellbrowser.R script? HOT 1
- Special characters in the column names HOT 1
- os.getLogin() function breaks seurat.py HOT 2
- Split view by dataset HOT 1
- abstract.html do not working HOT 8
- cache problem of google chrome browser or server httpd setting? HOT 3
- Custom colors for each attribute HOT 8
- Cannot find dataset when refreshing HOT 7
- Cannot read single sample name from the matrix HOT 3
- Spatial data in cell browser HOT 9
- [Feature Request] Find Cells by named selection HOT 6
- --useMtx is ignored if too.big == TRUE in runSeurat.R HOT 6
- On killing cbScanpyImport due to Out of memory, process exits with 0 exit code HOT 1
- `scanpy` docs bug still not resolved HOT 5
- Issue w/ running cbSeurat: argument "counts" is missing, with no default HOT 17
- Error in `[.data.frame`(feature.names, , gene.column) : undefined columns selected 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 cellbrowser.