Compare commits

..

8 Commits

Author SHA1 Message Date
Emilia Allison 08f647cd01
Utility for copying plates as image 2023-12-29 18:51:54 -05:00
Emilia Allison 3456be2e9a
Change wording in options menu
Father suggests that this wording is more clear to the end user.
I agree!
2023-12-29 18:51:54 -05:00
Emilia Allison 4c79cc0b4d
Set default plate format to 96 well 2023-12-29 18:51:54 -05:00
Emilia Allison 056688c4ec
Implement in_transfer hashes toggle in plates 2023-12-29 18:51:54 -05:00
Emilia Allison 4937d4ad28
Preferences menu and toggle for in_transfer hashes 2023-12-29 18:51:54 -05:00
Emilia Allison 0101846b52
Add preferences struct to main state 2023-12-29 18:51:54 -05:00
Emilia Allison ec37887c2f
Squashed commit of the following:
commit 5e1137c460
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:03:00 2023 -0500

    Fix: indexing error w.r.t. logarithm argument

commit 535b14a586
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:02:00 2023 -0500

    Space colors evenly, consistently, etc

    Colors should now:
    	- Not change if new transfers are added
    	- Be evenly spaced throughout the palette
    	- Be persistent across refreshes

commit 6e08f47955
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:01:00 2023 -0500

    Add palette function for ordered ids

    Given an id and a list of sorted ids, yields a color

commit 88e838e102
Author: Emilia <contact@emiliaallison.com>
Date:   Fri Dec 29 18:00:00 2023 -0500

    Switch to v7 UUIDs from v4

    v7 UUIDs are timestamp based and thus we can establish a useful
    total ordering over them; will base colors on this
2023-12-29 18:51:54 -05:00
Emilia Allison 85d4b30d47
Update README.md
Updated info about import/export, including the new Import Transfer from CSV feature.
2023-10-24 21:18:10 -04:00
1 changed files with 15 additions and 5 deletions

View File

@ -53,27 +53,37 @@ To add a new plate, click the "New Plate" button:
If you no longer need a transfer, select it as above and then click the "Delete" button. If you no longer need a transfer, select it as above and then click the "Delete" button.
### Importing and Exporting ### Importing and Exporting
#### Export as CSV
Exporting the transfers we have created to a CSV format is the primary (if not sole) usage of Plate Tool. Exporting the transfers we have created to a CSV format is the primary (if not sole) usage of Plate Tool.
To do so, first note the "File" tab at the top-left of the screen (above the list pane). To do so, first note the "File" tab at the top-left of the screen (above the list pane).
Mouse over this tab, and a few more options will be revealed. Mouse over this tab, and a few more options will be revealed.
We want to export: mouse over export and select "Export as CSV". We want to export: mouse over export and select "Export as CSV".
You will be reminded that this is a one-way export (see JSON export/import below), You will be reminded that this is a one-way export (see JSON export/import below),
and then prompted by your browser to select a location for your file. and then prompted by your browser to select a location for your file.
Currently, it is not possible to import from nor export to a format produced by other similar software. #### Export as JSON (Saving Your Work)
Currently, it is not possible to export to a format produced by other similar software.
However, you might reasonably want to save a copy of your work However, you might reasonably want to save a copy of your work
either as a backup or to share. either as a backup or to share.
Mouse over the "File" tab, then "Export" as above, then alternatively select "Export as JSON". Mouse over the "File" tab, then "Export" as above, then alternatively select "Export as JSON".
Your browser will then prompt you to pick a suitable location to save your work as a file. Your browser will then prompt you to pick a suitable location to save your work as a file.
(See note 1 below) (See note 1 below)
#### Import from JSON (Recovering Your Work)
If we want to import one such file, mouse over the "File" tab as before If we want to import one such file, mouse over the "File" tab as before
and select "Import". and select "Import", and finally click "Import from JSON".
This opens a modal where you are prompted to upload (see note 2) This opens a modal where you are prompted to upload (see note 2)
your file; it will then be processed and loaded. your file; it will then be processed and loaded.
Keep in mind that this will overwrite any work you currently have open, Keep in mind that this will overwrite any work you currently have open,
so you may wish to export first (see above). so you may wish to export first (see above).
#### Import Transfer from CSV (Using a picklist as a transfer)
If you have a CSV generated by another tool (or plate-tool),
you can import it as a single transfer.
To do so, mouse over the "File" tab, then "Import", and finally "Import Transfer from CSV".
When creating transfers via this method, the transfer cannot be edited.
This is useful if you have a pre-existing picklist that you would like to visualize in plate-tool.
_Note 1_: JSON files are plaintext! _Note 1_: JSON files are plaintext!
By default there is little whitespace (this makes comprehending them a challenge) By default there is little whitespace (this makes comprehending them a challenge)