LegumeFederation / cmap-js

Display and compare biological maps (genetic, physical, cytogenetic, genomic, linkage groups, chromosomes, scaffolds).
GNU General Public License v3.0
4 stars 2 forks source link

ability to load data after initial app load #71

Closed adf-ncgr closed 1 year ago

adf-ncgr commented 7 years ago

Can start with remote URL as proof of concept, then will try to get local file upload working

awilkey commented 7 years ago

Functionality added for remote files on features/upload

awilkey commented 7 years ago

Local files supported as of commit 1282e94

nathanweeks commented 1 year ago

1282e942f92e272507a10815e75259bffd9b9064 is in the master branch, and the following test successfully adds a new map from a local file when using the default/demo cmap.json:

  1. ADD DATA > Local File > data/Pv_McClean_NDSU_-_2007.txt
  2. Target Map Set > select radio button next to empty text box, specify a new map set name in the text box (e.g., "pv_mcclean")
  3. Click the ADD DATA TO MAP button
  4. Click ADD MAP
  5. For the "pv_mcclean" Data Source (or whatever map set name was specified in step 2), select Available Maps "2" radio button
  6. Click "ADD MAP ON LEFT"

One remaining issue: as mentioned in https://github.com/LegumeFederation/cmap-js/issues/22#issuecomment-1497307955 , the data source / path isn't saved in the user-editable CONFIGURATION, so this view can't be saved by the user.

nathanweeks commented 1 year ago

If no objections, I'll close this issue and consider this feature as one of many to test as part of user configuration implementation updates (#22).