OAKLAND (AP) — Oakland officials were considering new amendments to a city law that licenses large medical marijuana growing operations following a warning from the district attorney.

The city council revised the law after Alameda County District Attorney Nancy O’Malley warned in December that the current law could run afoul of state regulations. Among O’Malley’s concerns was that cannabis growers did not have a close relationship with patients.

READ MORE: UPDATE: Atmospheric River Crashes Onshore; Flood Warning Issued For Napa, Sonoma Counties

The council was expected to vote on the amendments Tuesday night.

READ MORE: Atmospheric River Whipped Winds Roar Through Bay Area; Toppling Dozens Of Drought-Weakened Trees

They would allow five new dispensaries with off-site farms. But unlike the previous version of the law, the size of the farms would be capped at 50,000 square feet.

Each farm also would be attached to a dispensary. The farms were previously independent and could sell to any dispensary they wanted.

MORE NEWS: Atmospheric River: PG&E Crews Respond to Widespread Bay Area Outages

(© 2011 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)