From: Pablo C. <pc...@cn...> - 2021-02-23 11:18:57
|
yes, we (developers) should adapt this information accordingly. *Techy stuff for developers now:* Old versions of scipion described the "New" protocol status based on setting _lastUpdateVersion attribute to the latest scipion version. (https://github.com/scipion-em/scipion-pyworkflow/blob/devel/pyworkflow/protocol/protocol.py#L315) This is not useful anymore since each plugin has it's own "rythim", 100% independent from the scipion version. The way to proceed is described here: https://scipion-em.github.io/docs/docs/developer/creating-a-protocol.html?highlight=beta#protocol-development-status-definition If protocols were using _lastUpdateVersion and they are not new anymore, just removing the attribute will work. We can easily do de opposite, ignore _lastUpdateVersion, from now on so any current protocol that is new and "truly new" will have to use "_devStatus = NEW". Since the status is now "clearly" visible now we are seeing wrongly assigned attributes. Should we ignore _lastUpdateVersion? Will be this less confusing for users? And less work and urgency for developers? All the best, Pablo. On 23/2/21 11:28, Jose Miguel de la Rosa Trevin wrote: > Dear Pablo, > > There are many Relion protocols that are shown as "new" in your > screenshot and they have been there for a while. > > Best, > Jose Miguel > > > > On Tue, Feb 23, 2021 at 11:03 AM Pablo Conesa <pc...@cn... > <mailto:pc...@cn...>> wrote: > > Dear all! > > We have fixed this in scipion-pyworkflow package (this is not a > plugin but a pip pacakge updatable through scipipn3 update). So to > proceed run: > > scipion3 update > > You should see something like this-->The package > scipion-pyworkflow is out of date. Your version is 3.0.9, the > latest is 3.0.10. > > > NOTE: It should install scipion-pyworkflow 3.0.10, informing > clearly now which protocols are new or in beta: > > The version checking is cached so if it checked it recently is > will not work. To remove the cached files type: > > rm /tmp/outdated_cache_scipion-* > > and then scipion3 update. > > NOTE2: What it brings you is a way to identify the development > status of the protocolos: > > > > On 23/2/21 9:03, Pablo Conesa wrote: >> >> Hi, Wolfgang....rest, do not update cryosparc plugin yet. We >> released a buggy version easy to solve. >> >> In the next hour we'll probably fix this. I'll send an email when >> ready. >> >> Apologies! >> >> On 22/2/21 13:01, Lugmayr, Wolfgang wrote: >>> hi, >>> >>> i tried to combine scipion and cryosparc today on a local workstation and run into the error message below. >>> >>> $ scipion3 last >>> Scipion v3.0.7 - Eugenius >>> > error when importing from cryosparc2.protocols: cannot import name 'BETA' from 'pyworkflow' (/cssbsw/em/scipion/3.0/anaconda3/envs/.scipion3env/lib/python3.8/site-packages/pyworkflow/__init__.py) >>> File "/cssbsw/em/scipion/3.0/anaconda3/envs/.scipion3env/lib/python3.8/site-packages/cryosparc2/protocols/protocol_cryosparc_global_ctf_refinement.py", line 33, in <module> >>> Check the plugin manager (Configuration->Plugins in Scipion manager window) >>> or use 'scipion installp --help --checkUpdates' in the command line to check for upgrades, >>> it could be a versions compatibility issue. >>> >>> $ scipion3 update >>> Scipion v3.0.7 - Eugenius >>> The package scipion-pyworkflow is up to date. Your version is 3.0.9 >>> The package scipion-em is up to date. Your version is 3.0.7 >>> The package scipion-app is up to date. Your version is 3.0.7 >>> >>> i assume this has something to do with the recently updated workflow package and not with my yet not configured cryosparc configuration, right? >>> >>> cheers, >>> wolfgang >>> >> -- >> Pablo Conesa - *Madrid Scipion <http://scipion.i2pc.es> team* >> >> >> _______________________________________________ >> scipion-users mailing list >> sci...@li... <mailto:sci...@li...> >> https://lists.sourceforge.net/lists/listinfo/scipion-users > -- > Pablo Conesa - *Madrid Scipion <http://scipion.i2pc.es> team* > _______________________________________________ > scipion-users mailing list > sci...@li... > <mailto:sci...@li...> > https://lists.sourceforge.net/lists/listinfo/scipion-users > > > > _______________________________________________ > scipion-users mailing list > sci...@li... > https://lists.sourceforge.net/lists/listinfo/scipion-users -- Pablo Conesa - *Madrid Scipion <http://scipion.i2pc.es> team* |