Scifabric / app-feynman-flowers

Feynman's Flowers application
GNU Affero General Public License v3.0
1 stars 1 forks source link

Uploading new (ZnPc) data #8

Open samzliu opened 11 years ago

samzliu commented 11 years ago

The data isn't rendering properly

The csv file is https://dl.dropboxusercontent.com/u/2422118/ZnPc.csv

and the directory for the images is http://www.ucl.ac.uk/~ucanchi/PyBossa/Data/ZnPc_Cu2N/

teleyinex commented 11 years ago

Hi,

The problem is that we are not passing the correct URL as well as that the CSV file in the column Filename is missing the .jpg extension. Can you update the CSV fixing that issue while I add the parameter to pass the URL?

Daniel

teleyinex commented 11 years ago

OK,

The previous commit fixes the problems with the CSV files. Now you can pass via the command args the URL where the images are hosted, as well as the CSV file:

python createTasks.py -k key -s server -d http://yourdomian.com/img/ -m Molecules.csv -x

-x <- adds more tasks -c <- creates app + tasks

Fix the CSV file adding the extensions and it should work. I've tested it locally, and works like a charm ;-)

teleyinex commented 11 years ago

Another note: the new data set the images have a different size, so it could be handy if the black box is adjusted automatically. Fortunately this is not mandatory, as the pixel positions are taken from left corner. However, double check everything ;-)