camelot-project / frontend

The frontend: The web-facing server software for CAMELOT
BSD 3-Clause "New" or "Revised" License
2 stars 14 forks source link

format not understood #160

Open knut0815 opened 8 years ago

knut0815 commented 8 years ago

Can somebody please provide a working example for a table file that can be used with the upload form? I have followed closely the example shown on the website, but it doesn't work.

\DOI = "10.1051/0004-6361/201014177"
\ADS = "2010ApJ...711.1017P"
\author = ThomasPeters
\email = thomas.peters.uni.hd@gmail.com
\IsObserved = False
\IsGalactic = True
|  ID | Radius | SurfaceDensity | VelocityDispersion |
|char | float  | float          | float              |
|     |  pc    |  g/cm^2        |  km/s              |
 RunA   1.70      0.025            0.44
 RunB   1.70      0.025            0.44
e-koch commented 8 years ago

@knut0815 - Is this the screen that you get?

image

There is an unmarked box right below the file name that you can manually specify the extension (ipac in this case). After adding that, it appeared to populate the upload form properly.

@keflavich - We need to add a label for that box so it's clearer.

keflavich commented 8 years ago

@e-koch thanks. Also, there is a bug introduced by recent updates to astropy that ipac tables aren't auto-recognized, so the frontpage form will now always fail - the page you screenshotted should be the default instead.

knut0815 commented 8 years ago

Ah I see, I have to upload the file twice. The first time it wasn't recognized that it is ipac format, but on the second upload form I can specify this. Thanks!