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
The Comment in the generated csv file contains commas, which will corrupt the output csv format.
# If Inferred=1, the connectivity between neurons was inferred using axonic/dendritic polarity predicted by SPIN:Skeleton-based Polarity Identification for Neurons. Please refer to
# SPIN: A Method of Skeleton-based Polarity Identification for Neurons. Neurinformatics 12:487-507. Yi-Hsuan Lee, Yen-Nan Lin, Chao-Chun Chuang and Chung-Chuan Lo (2014)
# for more details
csv='If Inferred=1, the connectivity between neurons was inferred using axonic/dendritic polarity predicted by SPIN:Skeleton-based Polarity Identification for Neurons. Please refer to \nSPIN: A Method of Skeleton-based Polarity Identification for Neurons. Neurinformatics 12:487-507. Yi-Hsuan Lee, Yen-Nan Lin, Chao-Chun Chuang and Chung-Chuan Lo (2014)\nfor more details\n'
If we really want to include the comments, we can do the following (which will not be rendered correctly by default browsers, but can be parsed by pandas by specifying pd.read_csv(..., comment='#')).
csv=`# If Inferred=1, the connectivity between neurons was inferred using axonic/dendritic polarity predicted by SPIN:Skeleton-based Polarity Identification for Neurons. Please refer to# SPIN: A Method of Skeleton-based Polarity Identification for Neurons. Neurinformatics 12:487-507. Yi-Hsuan Lee, Yen-Nan Lin, Chao-Chun Chuang and Chung-Chuan Lo (2014)# for more detailsPreSynaptic Neuron,PostSynaptic Neuron,N,Inferred${connectivity.map(conn=>`${conn[0]},${conn[1]},${conn[2]},${conn[3]}\n`).join('')}`;
The text was updated successfully, but these errors were encountered:
Issues
Remedy
Change the following lines :
ffbo.neuronlp/js/NeuroNLP.js
Lines 512 to 538 in 33ff19a
to:
If we really want to include the comments, we can do the following (which will not be rendered correctly by default browsers, but can be parsed by pandas by specifying
pd.read_csv(..., comment='#')
).The text was updated successfully, but these errors were encountered: