chemist-preprocessor-0.1.0.0: Chemist Raw Data Preprocessor
Safe HaskellSafe-Inferred
LanguageHaskell2010

Models.Chemical

Description

This module defines data types for chemical entities, including Molecule, Reaction, Catalyst, and their respective properties. It facilitates JSON serialization and deserialization, providing a structure for representing reactions and their components.

Synopsis

Documentation

data Molecule #

Instances

Instances details
FromJSON Molecule # 
Instance details

Defined in Models.Chemical

ToJSON Molecule # 
Instance details

Defined in Models.Chemical

Generic Molecule # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep Molecule :: Type -> Type #

Methods

from :: Molecule -> Rep Molecule x #

to :: Rep Molecule x -> Molecule #

Show Molecule # 
Instance details

Defined in Models.Chemical

Eq Molecule # 
Instance details

Defined in Models.Chemical

ElemInteractant (Molecule, Identity) #

Converts a Neo4j node with label Molecule to a Haskell Molecule and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep Molecule # 
Instance details

Defined in Models.Chemical

type Rep Molecule = D1 ('MetaData "Molecule" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Molecule" 'PrefixI 'True) (S1 ('MetaSel ('Just "moleculeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MoleculeID) :*: (S1 ('MetaSel ('Just "moleculeSmiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "moleculeIupacName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))

data Reaction #

Constructors

Reaction 

Instances

Instances details
FromJSON Reaction # 
Instance details

Defined in Models.Chemical

ToJSON Reaction # 
Instance details

Defined in Models.Chemical

Generic Reaction # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep Reaction :: Type -> Type #

Methods

from :: Reaction -> Rep Reaction x #

to :: Rep Reaction x -> Reaction #

Show Reaction # 
Instance details

Defined in Models.Chemical

Eq Reaction # 
Instance details

Defined in Models.Chemical

ElemInteractant (Reaction, Identity) #

Converts a Neo4j node with label Reaction to a Haskell Reaction and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep Reaction # 
Instance details

Defined in Models.Chemical

type Rep Reaction = D1 ('MetaData "Reaction" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Reaction" 'PrefixI 'True) (S1 ('MetaSel ('Just "reactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReactionID) :*: S1 ('MetaSel ('Just "reactionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

data Catalyst #

Instances

Instances details
FromJSON Catalyst # 
Instance details

Defined in Models.Chemical

ToJSON Catalyst # 
Instance details

Defined in Models.Chemical

Generic Catalyst # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep Catalyst :: Type -> Type #

Methods

from :: Catalyst -> Rep Catalyst x #

to :: Rep Catalyst x -> Catalyst #

Show Catalyst # 
Instance details

Defined in Models.Chemical

Default Catalyst # 
Instance details

Defined in Models.Chemical

Methods

def :: Catalyst #

Eq Catalyst # 
Instance details

Defined in Models.Chemical

ElemInteractant (Catalyst, Identity) #

Converts a Neo4j node with label Catalyst to a Haskell Catalyst and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep Catalyst # 
Instance details

Defined in Models.Chemical

type Rep Catalyst = D1 ('MetaData "Catalyst" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Catalyst" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalystId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CatalystID) :*: (S1 ('MetaSel ('Just "catalystSmiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "catalystName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))))

newtype PRODUCT_FROM #

Constructors

PRODUCT_FROM 

Fields

Instances

Instances details
FromJSON PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

ToJSON PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

Generic PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep PRODUCT_FROM :: Type -> Type #

Show PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

Eq PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

ElemInteractant (PRODUCT_FROM, Identity) #

Converts a Neo4j relationship of type PRODUCT_FROM to a Haskell PRODUCT_FROM and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep PRODUCT_FROM # 
Instance details

Defined in Models.Chemical

type Rep PRODUCT_FROM = D1 ('MetaData "PRODUCT_FROM" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'True) (C1 ('MetaCons "PRODUCT_FROM" 'PrefixI 'True) (S1 ('MetaSel ('Just "productAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float)))

data ACCELERATE #

def - the default value for ACCELERATE corresponds to Standard Temperature and Pressure (STP): - temperature = 273.15 K (Kelvin) - pressure = 101.325 kPa (kilopascals)

Constructors

ACCELERATE 

Fields

Instances

Instances details
FromJSON ACCELERATE # 
Instance details

Defined in Models.Chemical

ToJSON ACCELERATE # 
Instance details

Defined in Models.Chemical

Generic ACCELERATE # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep ACCELERATE :: Type -> Type #

Show ACCELERATE # 
Instance details

Defined in Models.Chemical

Default ACCELERATE # 
Instance details

Defined in Models.Chemical

Methods

def :: ACCELERATE #

Eq ACCELERATE # 
Instance details

Defined in Models.Chemical

ElemInteractant (ACCELERATE, Identity) #

Converts a Neo4j relationship of type ACCELERATE to a Haskell ACCELERATE and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep ACCELERATE # 
Instance details

Defined in Models.Chemical

type Rep ACCELERATE = D1 ('MetaData "ACCELERATE" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'False) (C1 ('MetaCons "ACCELERATE" 'PrefixI 'True) (S1 ('MetaSel ('Just "temperature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Float]) :*: S1 ('MetaSel ('Just "pressure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Float])))

newtype REAGENT_IN #

Constructors

REAGENT_IN 

Fields

Instances

Instances details
FromJSON REAGENT_IN # 
Instance details

Defined in Models.Chemical

ToJSON REAGENT_IN # 
Instance details

Defined in Models.Chemical

Generic REAGENT_IN # 
Instance details

Defined in Models.Chemical

Associated Types

type Rep REAGENT_IN :: Type -> Type #

Show REAGENT_IN # 
Instance details

Defined in Models.Chemical

Eq REAGENT_IN # 
Instance details

Defined in Models.Chemical

ElemInteractant (REAGENT_IN, Identity) #

Converts a Neo4j relationship of type REAGENT_IN to a Haskell REAGENT_IN and its Identity.

Instance details

Defined in Domain.Converter.Instances

type Rep REAGENT_IN # 
Instance details

Defined in Models.Chemical

type Rep REAGENT_IN = D1 ('MetaData "REAGENT_IN" "Models.Chemical" "chemist-preprocessor-0.1.0.0-inplace" 'True) (C1 ('MetaCons "REAGENT_IN" 'PrefixI 'True) (S1 ('MetaSel ('Just "reagentAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Float)))