From: Jose M. de la R. T. <del...@gm...> - 2017-06-13 15:14:27
|
Hi David, I think that the SCIPION_TESTS is configurable, but we don't use that option very often. Could you try to provide the full absolute path? Anyway, I will recommend to download the test data in advance and allow users read-only access. Some of the datasets for the tests contains big files (needed for real EM tests) and you can end up with many copies of this test data per user. Where is the --paths options that you are asking about? On Tue, Jun 13, 2017 at 5:06 PM, Hoover , David (NIH/CIT) [E] < hoo...@he...> wrote: > Ah, you're right. Once I run the test, other users can run it as well. > > From my investigations, it seems that the tests directory should be > configurable. The files in $SCIPION_HOME have entries: > > config/scipion.conf:SCIPION_TESTS = data/tests > config/templates/scipion.template:SCIPION_TESTS = data/tests > > If I change these to something more generic, e.g. > > config/scipion.conf:SCIPION_TESTS = ~/data/tests > config/templates/scipion.template:SCIPION_TESTS = ~/data/tests > > This still fails. Is the SCIPION_TESTS variable actually configurable? > It seems that the path is hard-coded somewhere. > > One more question. What does the --paths option do? That didn't seem to > affect anything. > > David > > On Jun 13, 2017, at 10:49 AM, Jose Miguel de la Rosa Trevin < > del...@gm...> wrote: > > Hi David, > > It is not a silly question, I think that we should put it in a FAQ wiki > page. > > Scipion is designed so it can be used in multi-users environments, where > the administration install it and give just read and execution permission > to the users. > The problem with the tests is that the data is downloaded in > /path/to/scipion/data/tests, so the admin should download the the datasets > for the tests in advance. > In that way, the users can execute the test without the need to download > the dataset in that location. > > If you use the following command you can see the available datasets: > > scipion testdata --help (or --list) > > Hope this helps > Bests, > Jose Miguel > > On Tue, Jun 13, 2017 at 4:30 PM, Hoover , David (NIH/CIT) [E] < > hoo...@he...> wrote: > >> Hi, >> >> I'm new to Scipion, so I hope this is not a silly question. >> >> Can Scipion be used in a multiuser mode? That is, can an administrator >> install Scipion in a central, shared location, and have other users with >> only read permission to that central location run Scipion with input/output >> in their own local directories? >> >> So far, I can't figure out a way of doing this. Running the simple tests >> give error messages. For example, >> >> scipion tests model.test_mappers >> ... >> [ FAILED ] TestSqliteMapper.test_SqliteDb >> >> Traceback (most recent call last): >> File "/usr/local/apps/scipion/1.1/software/lib/python2.7/unittest/case.py", >> line 329, in run >> testMethod() >> File "/usr/local/apps/scipion/1.1/pyworkflow/tests/model/test_mappers.py", >> line 56, in test_SqliteDb >> db._createConnection(self.modelGoldSqlite, timeout=1000) >> File "/usr/local/apps/scipion/1.1/pyworkflow/mapper/sqlite_db.py", >> line 52, in _createConnection >> self.connection = sqlite.Connection(dbName, timeout, >> check_same_thread=False) >> OperationalError: unable to open database file >> >> Thanks, >> David Hoover >> HPC @ NIH >> >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> scipion-users mailing list >> sci...@li... >> https://lists.sourceforge.net/lists/listinfo/scipion-users >> > > > |