Sen descrición

Andrej Studen ab8f199c98 Changing menu location for slicerNetwork %!s(int64=5) %!d(string=hai) anos
labkeySlicerPythonExtension ab8f199c98 Changing menu location for slicerNetwork %!s(int64=5) %!d(string=hai) anos
utils 043b72636c Changing menu location of resample %!s(int64=5) %!d(string=hai) anos
CMakeLists.txt c40d238590 Initial import %!s(int64=7) %!d(string=hai) anos
Labkey.png c40d238590 Initial import %!s(int64=7) %!d(string=hai) anos
README.md e8711c0673 Updated README.md %!s(int64=6) %!d(string=hai) anos
networkConfig.json.sample 908b0a812d Adding a networkConfig sample %!s(int64=5) %!d(string=hai) anos

README.md

This package allows user to connect to a labkey server through a slicer interface.

To use, add path to unpackaged labkeySlicerPythonAPI/labkeySlicerPythonExtension to Additional module paths in Slicer->Edit->Application Settings->Modules submenu.

Then the package will appear under Examples.

If you are interested in the code, you should look at slicerNetwork.py which implements the communication with the server and forms HTTP Labkey API commands.

You will need your key and certificate in a separate file to use the code. On linux, this is accomplished by:

openssl pkcs12 -in yourP12File.p12 -nocerts -out privateKey.key

openssl pkcs12 -in yourP12File.p12 -nokeys -out privateKey.crt

The server certificate can be copied from: http://merlin.fmf.uni-lj.si/signing-ca-1.crt

Enjoy!

Andrej