Author: rozagh
Date: 2012-03-28 15:18:06 -0700 (Wed, 28 Mar 2012)
New Revision: 28684
Modified:
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
Log:
Fixed the bug for importing text file tables.
Modified:
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
===================================================================
---
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
2012-03-28 21:22:50 UTC (rev 28683)
+++
core3/impl/trunk/table-import-impl/src/main/java/org/cytoscape/tableimport/internal/CyActivator.java
2012-03-28 22:18:06 UTC (rev 28684)
@@ -76,7 +76,7 @@
CytoscapeServices.streamUtil = getService(bc,StreamUtil.class);
CytoscapeServices.cyEventHelper =
getService(bc,CyEventHelper.class);
- BasicCyFileFilter attrsTableFilter_txt = new
BasicCyFileFilter(new String[]{"csv","tsv", "txt", "tab", "net"}, new
String[]{"text/plain","text/tab-separated-values"},"Comma or Tab Separated
Value Files",TABLE,CytoscapeServices.streamUtil);
+ BasicCyFileFilter attrsTableFilter_txt = new
BasicCyFileFilter(new String[]{"csv","tsv", "txt", "tab", "net"}, new
String[]{"text/csv","text/plain","text/tab-separated-values"},"Comma or Tab
Separated Value Files",TABLE,CytoscapeServices.streamUtil);
BasicCyFileFilter attrsTableFilter_xls = new
BasicCyFileFilter(new String[]{"xls","xlsx"}, new
String[]{"application/excel"},"Excel Files",TABLE,CytoscapeServices.streamUtil);
BasicCyFileFilter oboFilter = new BasicCyFileFilter(new
String[]{"obo"}, new String[]{"text/obo"},"OBO
Files",NETWORK,CytoscapeServices.streamUtil);
OBONetworkReaderFactory oboReaderFactory = new
OBONetworkReaderFactory(oboFilter);
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.