You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: USER-GUIDE.md
+25-23
Original file line number
Diff line number
Diff line change
@@ -412,38 +412,17 @@ Warning: aligner can take an even longer time, please be patient.
412
412
413
413
## 5. Upload to Fragalysis
414
414
415
-
To generate the gzipped tar file needed to manually upload the data move into your version dir and run this command
416
-
(updating it for the specific upload version and target name):
417
-
418
-
```
419
-
tar cvfz <target_name>.tgz upload_1
420
-
```
421
-
422
-
Change `upload_1` to whatever your current upload is.
423
-
424
-
425
-
### Uploading using the API endpoint
426
-
427
415
**Staging vs production: there are two live versions of Fragalysis. "Staging" is used for testing and is in constant development, therefore it may be buggier and/or have new features with respect to "production" which is the stable and public deployment. You should test if your upload works in staging, and verify that the data has been uploaded correctly before uploading to production. Data in staging is "at risk" as we may have to wipe the data occassionally for development reasons.**
428
416
429
417
### First to log in to Fragalysis and authenticate and log in with your FedID:
The target access string will be the name of your proposal in UAS/ISpyB. Any Fed ID with access to your proposal will be able to see your data. If you have a private/closed data set, this means only logged in users with access configured via UAS will see your target dataset.
440
-
441
-
Fill in your email and attach the `.tgz` archive. After clicking 'POST' you will see a URL which you can append to https://fragalysis.xchem.diamond.ac.uk/ (or https://fragalysis.diamond.ac.uk/ for production) to track the progress of the upload.
442
-
443
422
444
423
### Uploading with the XCA uploader tool
445
424
446
-
To use the XChemAlign uploader tool, first log in to Fragalysis and obtain the authentication token. Token can be obtained from:
425
+
The preferred way to upload data to Fragalysis is using the uploader tool in XChemAlign. Once you've logged in, you can obtain the authentication token from:
This will find the latest upload directory, compress it to a tarball, and then upload it to a given URL. If the tarball already exists, the compression step can be skipped by specifying either
436
+
This will find the latest upload directory, compress it to a tarball, and then upload it to the given URL. If the tarball already exists, the compression step can be skipped by specifying either
458
437
`-d` or `-c <path to custom tarball>` parameters. Instead of a full URL, a stack nickname can be used, if defined in the environment. To see the nicknames available, use the help command:
459
438
460
439
```commandline
461
440
python -m xchemalign.uploader -h
462
441
```
463
442
464
443
444
+
### Uploading using the API endpoint
445
+
446
+
An alternative is to use the API endpoint directly. For this you need to generate the gzipped tar file and manually upload the data. Move into your version dir and run this command
447
+
(updating it for the specific upload version and target name):
448
+
449
+
```
450
+
tar cvfz <target_name>.tgz upload_1
451
+
```
452
+
453
+
Change `upload_1` to whatever your current upload is.
454
+
455
+
456
+
The gzipped tar file can then be uploaded to Fragalysis via:
The target access string will be the name of your proposal in UAS/ISpyB. Any Fed ID with access to your proposal will be able to see your data. If you have a private/closed data set, this means only logged in users with access configured via UAS will see your target dataset.
462
+
463
+
Attach the `.tgz` archive by clicking the 'Choose file' button. The remaining fields, 'Data version' and 'Target name', are not necessary, these are used only by the uploader tool. After clicking 'POST' you will see a URL which you can append to https://fragalysis.xchem.diamond.ac.uk/ (or https://fragalysis.diamond.ac.uk/ for production) to track the progress of the upload.
464
+
465
+
466
+
465
467
## 6. Creating subsequent versions
466
468
467
469
When you have new or updated data you need to create a new version of the upload.
0 commit comments