Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: calculate distance between atoms and a target atom

by toolic (Bishop)
on Dec 02, 2013 at 22:09 UTC ( #1065328=note: print w/ replies, xml ) Need Help??


in reply to calculate distance between atoms and a target atom

I get a lot more warnings. For example

Name "main::ZNx" used only once: possible typo at .... Name "main::Znz" used only once: possible typo at ....
$ZNx is a different variable from $Znx because Perl is case-sensitive. You really want to start using strict (Tip #1 from the Basic debugging checklist).

Also, you probably want to change:

if ($pdbline =~ /OD2 ASP/ or /NE2 HIS/)

to:

if ($pdbline =~ /OD2 ASP/ or $pdbline =~ /NE2 HIS/)


Comment on Re: calculate distance between atoms and a target atom
Select or Download Code
Replies are listed 'Best First'.
Re^2: calculate distance between atoms and a target atom
by PerlSufi (Friar) on Dec 02, 2013 at 22:12 UTC
    yeah, toolic gave a better recommendation :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065328]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2015-07-30 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls