in reply to Re: calculate distance between atoms and a target atom
in thread calculate distance between atoms and a target atom

You'd need to post the updated code if you are to get help with it.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: calculate distance between atoms and a target atom

Replies are listed 'Best First'.
Re^3: calculate distance between atoms and a target atom
by mishimakaz (Initiate) on Dec 04, 2013 at 23:41 UTC
    My mistake. I updated my original post instead of pasting the code onto another post.

      @pdblines is empty, so you never enter your for loop:

      my @pdblines = (); while (<IN>) { for ( @pdblines) {

      I can't begin to work out what you think should happen here.

      BTW: If you indent your code correctly and consistently, more people will be encouraged to consider it.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.