Skip to content

Non Breaking Space unicode needs handling #279

@Robbie1977

Description

@Robbie1977

unicode   a.k.a \xa0 is breaking pub load

causing error:

/opt/VFB_neo4j/src/uk/ac/ebi/vfb/neo4j/neo4j_tools.py:148: UserWarning: {'code': 'Neo.ClientError.Statement.SyntaxError', 'message': 'Invalid input \'x\': expected \'\\\', \'\'\', \'"\', \'b\', \'f\', \'n\', \'r\', \'t\', UTF16 or UTF32 (line 1, column 223 (offset: 222))\n"MERGE (n:pub:Individual { iri: \'[http://flybase.org/reports/FBrf0244422\](http://flybase.org/reports/FBrf0244422/)' }) set n.short_form = \'FBrf0244422\' set n:Entity SET n.title = [\'zfh2 controls progenitor cell activation and differentiation in the adult Drosophila\\xa0intestinal absorptive lineage.\'] SET n.miniref = [\'Rojas Villa et al., 2019, PLoS Genet. 15(12): e1008553\'] SET n.year = [\'2019\'] SET n.pages = [\'e1008553\'] SET n.volume = [\'15\'] SET n.label = "Rojas Villa et al., 2019, PLoS Genet. 15(12): e1008553" SET n.self_xref = [\'FlyBase\'] "\n                                                                                                                                                                                                                               ^'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions