-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Is there a reason why reactions that only contain no-structures are sometimes handled differently?
For example, an ‘empty’ RInChI with the no-struct flag is returned for this rxn file (RInChI=1.00.1S//d+/u1-1-0):
Empty_Rinchi
$RXN ISIS 012320160130
1 1
$MOL
-ISIS- 01231601302D
0 0 0 0 0 0 0 0 0 0999 V2000
M END
$MOL
-ISIS- 01231601302D
1 0 0 0 0 0 0 0 0 0999 V2000
8.5292 -2.7458 0.0000 A 0 0 0 0 0 0 0 0 0 0 0 0
M END
However, an error is thrown for this reaction file, which also contains two no-struct flags:
Error_reaction
$RXN ISIS 012320160139
1 1
$MOL
-ISIS- 01231601392D
6 6 0 0 0 0 0 0 0 0999 V2000
1.4416 -1.8375 0.0000 C 0 0 0 0 0 0 0 0 0 4 0 0
2.2666 -1.8375 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
2.5234 -1.0534 0.0000 C 0 0 0 0 0 0 0 0 0 3 0 0
1.8541 -0.5667 0.0000 C 0 0 3 0 0 0 0 0 0 2 0 0
1.1891 -1.0534 0.0000 C 0 0 0 0 0 0 0 0 0 5 0 0
1.8529 0.2583 0.0000 R 0 0 0 0 0 0 0 0 0 1 0 0
2 3 1 0 0 0 0
3 4 1 0 0 0 0
4 5 1 0 0 0 0
5 1 1 0 0 0 0
1 2 1 0 0 0 0
4 6 1 0 0 0 0
M END
$MOL
-ISIS- 01231601392D
6 6 0 0 0 0 0 0 0 0999 V2000
6.2833 -1.8375 0.0000 C 0 0 0 0 0 0 0 0 0 4 0 0
7.1083 -1.8375 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
7.3651 -1.0534 0.0000 C 0 0 0 0 0 0 0 0 0 3 0 0
6.6958 -0.5667 0.0000 C 0 0 3 0 0 0 0 0 0 2 0 0
6.0308 -1.0534 0.0000 C 0 0 0 0 0 0 0 0 0 5 0 0
6.6945 0.2583 0.0000 A 0 0 0 0 0 0 0 0 0 1 0 0
2 3 1 0 0 0 0
3 4 1 0 0 0 0
4 5 1 0 0 0 0
5 1 1 0 0 0 0
1 2 1 0 0 0 0
4 6 1 0 0 0 0
M END
In my opinion, an ‘empty’ RInChI should also be returned for the second file.