Author: rodche
Date: 2012-02-14 10:28:56 -0800 (Tue, 14 Feb 2012)
New Revision: 28262

Modified:
   
core3/impl/trunk/biopax-impl/src/main/java/org/cytoscape/biopax/internal/BioPaxFilter.java
Log:
Small fix (For the BioPAX i/o to consider 'text/plain' content type as well; 
this is to import a BioPAX network from a URL web service, e.g., Pathway 
Commons)

Modified: 
core3/impl/trunk/biopax-impl/src/main/java/org/cytoscape/biopax/internal/BioPaxFilter.java
===================================================================
--- 
core3/impl/trunk/biopax-impl/src/main/java/org/cytoscape/biopax/internal/BioPaxFilter.java
  2012-02-14 17:29:32 UTC (rev 28261)
+++ 
core3/impl/trunk/biopax-impl/src/main/java/org/cytoscape/biopax/internal/BioPaxFilter.java
  2012-02-14 18:28:56 UTC (rev 28262)
@@ -59,7 +59,7 @@
        public BioPaxFilter(StreamUtil streamUtil) {
                super(
                                new String[] { "xml", "owl", "rdf" }, 
-                               new String[] { "text/xml", 
"application/rdf+xml", "application/xml" }, 
+                               new String[] { "text/xml", 
"application/rdf+xml", "application/xml", "text/plain" }, 
                                "BioPAX data", 
                                DataCategory.NETWORK, 
                                streamUtil);

-- 
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.

Reply via email to